We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This bug seems to appear when a Discord user with an animated profile picture triggers the croissant cog.
Steps to reproduce the behavior:
Je paye les croissants
Get a response similar to this one:
Nothing happens on Discord. Behind the scenes, the bot raises and error:
Mar 15 10:53:37 warn python3[110192]: await coro(*args, **kwargs) Mar 15 10:53:37 warn python3[110192]: File "/home/warrior/actions-runner/_work/Algosup-Discord/Algosup-Discord/cogs/croissants.py", line 33, in on_receive_message Mar 15 10:53:37 warn python3[110192]: await self.__send_croissants(message) Mar 15 10:53:37 warn python3[110192]: File "/home/warrior/actions-runner/_work/Algosup-Discord/Algosup-Discord/cogs/croissants.py", line 52, in __send_croissants Mar 15 10:53:37 warn python3[110192]: file=self.__get_screenshot(message.author, message.content) Mar 15 10:53:37 warn python3[110192]: File "/home/warrior/actions-runner/_work/Algosup-Discord/Algosup-Discord/cogs/croissants.py", line 85, in __get_screenshot Mar 15 10:53:37 warn python3[110192]: img.paste(pfp, (16, 16), pfp) Mar 15 10:53:37 warn python3[110192]: File "/usr/local/lib/python3.9/dist-packages/PIL/Image.py", line 1557, in paste Mar 15 10:53:37 warn python3[110192]: self.im.paste(im, box, mask.im) Mar 15 10:53:37 warn python3[110192]: ValueError: bad transparency mask
The text was updated successfully, but these errors were encountered:
fix #28
276d6f9
Merge pull request #29 from PaulMarisOUMary/fix-croissants-pillow
acb84fe
additional fix for the #28
46b2461
gif duration fixed
Successfully merging a pull request may close this issue.
Describe the bug
This bug seems to appear when a Discord user with an animated profile picture triggers the croissant cog.
To Reproduce
Steps to reproduce the behavior:
Je paye les croissants
Expected behavior
Get a response similar to this one:
![Expected behaviour](https://camo.githubusercontent.com/a51b517e622a413c37522fe8a3538277e8400bb97f8cef21a19759b3355e7227/68747470733a2f2f63646e2e646973636f72646170702e636f6d2f6174746163686d656e74732f3439343938373336393736323738333233322f3935333233373135363638363630323237302f756e6b6e6f776e2e706e67)
Actual behavior
Nothing happens on Discord. Behind the scenes, the bot raises and error:
Environment
The text was updated successfully, but these errors were encountered: