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

[Palette] Hotfix #232

Merged
merged 8 commits into from
Jul 21, 2024
Merged

[Palette] Hotfix #232

merged 8 commits into from
Jul 21, 2024

Conversation

Kuro-Rui
Copy link
Contributor

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
Copy link
Contributor Author

Kuro-Rui commented Jul 21, 2024

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
Copy link
Contributor Author

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
Copy link
Contributor Author

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

@Kuro-Rui
Copy link
Contributor Author

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

@flaree flaree merged commit 8760cb6 into flaree:master Jul 21, 2024
1 of 2 checks passed
@Kuro-Rui Kuro-Rui deleted the palette-hotfix branch July 27, 2024 20:52
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 this pull request may close these issues.

2 participants