diff options
| author | 2021-09-05 20:31:53 +0530 | |
|---|---|---|
| committer | 2021-10-05 16:41:42 +0100 | |
| commit | e5ec6b7a62b1e8ba1679d0488e03c1d9c3af9d0b (patch) | |
| tree | 3d7932a72677488c61ee48c993e6628d57b89d72 /bot | |
| parent | Added ryanzec_colours.json constructed from ryanzec/name-that-color (diff) | |
Fix issues occured while deploying [no ci]
- import PIL is the way to import pillow.
- discord-flags isn't being used yet.
- Fixed some of the linting issues.
Diffstat (limited to 'bot')
| -rw-r--r-- | bot/exts/fun/color.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/bot/exts/fun/color.py b/bot/exts/fun/color.py index a00a956b..dd922bf9 100644 --- a/bot/exts/fun/color.py +++ b/bot/exts/fun/color.py @@ -1,16 +1,18 @@ # imports +import colorsys import logging -import colorsys -import pillow +import PIL from discord import Embed -# ! need to install discord-flags and add to poetry.lock file -from discord.ext import commands, flags +from discord.ext import commands from rapidfuzz import process from bot.bot import Bot from bot.constants import Colours +# Planning to use discord-flags, hence require changes to poetry.lock file +# from discord.ext import flags + logger = logging.getLogger(__name__) # constants if needed |