diff options
Diffstat (limited to 'bot/exts')
| -rw-r--r-- | bot/exts/evergreen/emoji_count.py | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/bot/exts/evergreen/emoji_count.py b/bot/exts/evergreen/emoji_count.py index c303cb7e..3ad0d61b 100644 --- a/bot/exts/evergreen/emoji_count.py +++ b/bot/exts/evergreen/emoji_count.py @@ -18,7 +18,7 @@ class EmojiCount(commands.Cog):          self.bot = bot      def embed_builder(self, emoji: dict) -> discord.Embed: -        """Genrates embed with emoji name and count.""" +        """Generates an embed with the emoji names and count."""          embed = discord.Embed()          embed.color = Colours.orange          embed.title = "Emoji Count" @@ -45,7 +45,7 @@ class EmojiCount(commands.Cog):          embed.title = random.choice(ERROR_REPLIES)          emoji_dict = {}          for emoji in ctx.guild.emojis: -            emoji_dict.update({emoji.name.split("_")[0]: []}) +            emoji_dict[emoji.name.split("_")[0]] = []          error_comp = ', '.join(key for key in emoji_dict.keys())          embed.description = f"These are the valid categories\n```{error_comp}```"          log.trace("Error embed built") @@ -68,7 +68,7 @@ class EmojiCount(commands.Cog):          emoji_dict = {}          for a in ctx.guild.emojis:              if emoji is None: -                log.trace("Emoji Category doesn't provided by the user") +                log.trace("Emoji Category not provided by the user")                  emoji_dict.update({a.name.split("_")[0]: []})              elif a.name.split("_")[0] in emoji:                  log.trace("Emoji Category provided by the user") | 
