Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature request] I want it (sticker package) #361

Closed
9 tasks done
hugefiver opened this issue Mar 6, 2024 · 0 comments · Fixed by #506
Closed
9 tasks done

[feature request] I want it (sticker package) #361

hugefiver opened this issue Mar 6, 2024 · 0 comments · Fixed by #506
Assignees

Comments

@hugefiver
Copy link
Collaborator

hugefiver commented Mar 6, 2024

  • 使用 /iwant 回复sticker,bot会下载并发送图像文件。可以在后面以 key=value 的形式附加参数。
    • 如果参数有 pack=true 或直接的 pack,则下载整个贴纸包,并以压缩包的形式发送。
    • 如果参数有 format={...},则将转换为对应的图像格式,取值有 jp(e)g png webp,默认为 webp;对于动态贴纸取值有 webmgif,默认为 webm
  • 在私聊中除以上述方式使用外,直接发送sticker也能使用该功能。在用户发送sticker后,bot将回复以一条询问信息让用户选择上述的参数,之后根据用户的参数发送文件。 以用户默认配置的方式取代该功能
  • 添加 video sticker 转换为 mp4/gif 格式的功能
    • GIF
    • MP4
  • 保存用户默认配置,在私聊中生效。例如使用 /iwant_setting vf=gif sf=jpg 将在用户私聊发送sticker或使用无参数/iwant命令发送GIF与JPEG格式的文件。

bug

  • 在私聊中直接发送sticker不调用handler
hugefiver added a commit that referenced this issue Mar 18, 2024
hugefiver added a commit that referenced this issue Mar 18, 2024
hugefiver added a commit that referenced this issue Jun 14, 2024
hugefiver added a commit that referenced this issue Jun 14, 2024
@hugefiver hugefiver mentioned this issue Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants