aboutsummaryrefslogtreecommitdiffstats
path: root/bot
diff options
context:
space:
mode:
authorGravatar CyberCitizen01 <[email protected]>2021-09-05 20:31:53 +0530
committerGravatar CyberCitizen01 <[email protected]>2021-09-05 20:31:53 +0530
commit3fdbed208356f875464fc21e3f1d153a7daa0359 (patch)
tree2141465f1e901f535b48d9dcbdcfab3be4c9ea7a /bot
parentAdded 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/evergreen/color.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/bot/exts/evergreen/color.py b/bot/exts/evergreen/color.py
index a00a956b..dd922bf9 100644
--- a/bot/exts/evergreen/color.py
+++ b/bot/exts/evergreen/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