aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen/emoji.py
diff options
context:
space:
mode:
Diffstat (limited to 'bot/exts/evergreen/emoji.py')
-rw-r--r--bot/exts/evergreen/emoji.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/bot/exts/evergreen/emoji.py b/bot/exts/evergreen/emoji.py
index fa3044e3..58d9be03 100644
--- a/bot/exts/evergreen/emoji.py
+++ b/bot/exts/evergreen/emoji.py
@@ -8,6 +8,7 @@ from typing import List, Optional, Tuple
from discord import Color, Embed, Emoji
from discord.ext import commands
+from bot.bot import Bot
from bot.constants import Colours, ERROR_REPLIES
from bot.utils.extensions import invoke_help_command
from bot.utils.pagination import LinePaginator
@@ -19,7 +20,7 @@ log = logging.getLogger(__name__)
class Emojis(commands.Cog):
"""A collection of commands related to emojis in the server."""
- def __init__(self, bot: commands.Bot):
+ def __init__(self, bot: Bot):
self.bot = bot
@staticmethod
@@ -120,6 +121,6 @@ class Emojis(commands.Cog):
await ctx.send(embed=emoji_information)
-def setup(bot: commands.Bot) -> None:
+def setup(bot: Bot) -> None:
"""Add the Emojis cog into the bot."""
bot.add_cog(Emojis(bot))