From 3fdbed208356f875464fc21e3f1d153a7daa0359 Mon Sep 17 00:00:00 2001 From: CyberCitizen01 Date: Sun, 5 Sep 2021 20:31:53 +0530 Subject: 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. --- bot/exts/evergreen/color.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'bot') 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 -- cgit v1.2.3