aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen/8bitify.py
diff options
context:
space:
mode:
authorGravatar vcokltfre <[email protected]>2021-04-19 20:20:48 +0100
committerGravatar vcokltfre <[email protected]>2021-04-19 20:20:48 +0100
commit1ed857d9093481387720ac1dc4041a64a2c9c593 (patch)
tree909724207ba5493db3f0871a74efa1198d34fc59 /bot/exts/evergreen/8bitify.py
parentMerge pull request #673 from janine9vn/int-eval (diff)
chore: switch commands.Bot typehints to bot.bot's Bot
Diffstat (limited to 'bot/exts/evergreen/8bitify.py')
-rw-r--r--bot/exts/evergreen/8bitify.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/bot/exts/evergreen/8bitify.py b/bot/exts/evergreen/8bitify.py
index 7eb4d313..621aa875 100644
--- a/bot/exts/evergreen/8bitify.py
+++ b/bot/exts/evergreen/8bitify.py
@@ -4,11 +4,13 @@ import discord
from PIL import Image
from discord.ext import commands
+from bot.bot import Bot
+
class EightBitify(commands.Cog):
"""Make your avatar 8bit!"""
- def __init__(self, bot: commands.Bot) -> None:
+ def __init__(self, bot: Bot) -> None:
self.bot = bot
@staticmethod
@@ -50,6 +52,6 @@ class EightBitify(commands.Cog):
await ctx.send(file=file, embed=embed)
-def setup(bot: commands.Bot) -> None:
+def setup(bot: Bot) -> None:
"""Cog load."""
bot.add_cog(EightBitify(bot))