flaree / flare-cogs

Various cogs written for Red-DiscordBot
MIT License
76 stars 69 forks source link

[Palette] Hotfix #232

Closed Kuro-Rui closed 3 months ago

Kuro-Rui commented 3 months ago

Here's the hotfix for your palette :p

I removed hexpalette and added it as a parameter for palette instead. I also add detailed parameter to show rgb and hex when passed true.

For the detail, it uses tabulate so I also added that as an extra requirement.

Kuro-Rui commented 3 months ago

Wait, there's still a bug currently, using attachment with no arguments returns author's palette

Screenshot 2024-07-21 at 10 14 02
Kuro-Rui commented 3 months ago

Fixed by doing this: Instead of checking for attachment in the converter, I checked it inside the command function, since a converter needs an argument for it to run.

Kuro-Rui commented 3 months ago

Sorry, there's still a bug where the url will somehow be None and raised an InvalidURL

Kuro-Rui commented 3 months ago

All should be good to go now, feel free to check 👍