Jacherr / assyst2

Assyst Discord Bot 2.0 rewrite
https://jacher.io/assyst
MIT License
19 stars 4 forks source link

Stickers as image input #17

Open flazepe opened 1 month ago

flazepe commented 1 month ago

What would you like to see added to Assyst? Currently, using commands when replying to a message with (only) a sticker, it would not use the sticker as an image. It would be great to have the bot use the sticker as the image instead.

EDIT: It seems that stickers do work, but only once. If you reply to the same sticker again, it won't work and uses the latest image instead. If you try the same on images, it'll always use the image you replied to, so I'm not sure if this is intentional or not...

Additional context None.

Jacherr commented 1 month ago

This should work in the rewrite, at least for static stickers, not sure why it doesn't work properly with the legacy version.

For what it's worth, there's a chance that support may be flakey due to some stickers being something like a lottie or APNG format, which Assyst can't process (yet). That may be the source of some weird behaviour.

I'll leave this issue open for now because GIF stickers are unsupported even though they probably can and should be. It's just a matter of identifying the correct URL for them.