diff options
author | 2021-03-08 16:44:21 +0800 | |
---|---|---|
committer | 2021-03-08 16:44:21 +0800 | |
commit | 5c46abf4b88b4d45f672082c829b1ec6cec12296 (patch) | |
tree | 6e7db8d55cbcbc649911676a5f81feb86bc9364f | |
parent | Improve emoji information embed visuals. (diff) |
Rename cog to avoid name conflict with discordpy.
-rw-r--r-- | bot/exts/evergreen/emoji.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bot/exts/evergreen/emoji.py b/bot/exts/evergreen/emoji.py index 8e5279f3..e07b1505 100644 --- a/bot/exts/evergreen/emoji.py +++ b/bot/exts/evergreen/emoji.py @@ -15,7 +15,7 @@ from bot.utils.time import time_since log = logging.getLogger(__name__) -class Emoji(commands.Cog): +class Emojis(commands.Cog): """A collection of commands related to emojis in the server.""" def __init__(self, bot: commands.Bot): @@ -120,5 +120,5 @@ class Emoji(commands.Cog): def setup(bot: commands.Bot) -> None: - """Add the Emoji cog into the bot.""" - bot.add_cog(Emoji(bot)) + """Add the Emojis cog into the bot.""" + bot.add_cog(Emojis(bot)) |