diff options
Diffstat (limited to '')
| -rw-r--r-- | bot/exts/evergreen/emoji_count.py | 9 | 
1 files changed, 5 insertions, 4 deletions
| diff --git a/bot/exts/evergreen/emoji_count.py b/bot/exts/evergreen/emoji_count.py index b32fd0ed..c8076922 100644 --- a/bot/exts/evergreen/emoji_count.py +++ b/bot/exts/evergreen/emoji_count.py @@ -19,10 +19,11 @@ class EmojiCount(commands.Cog):      def embed_builder(self, emoji: dict) -> discord.Embed:          """Generates an embed with the emoji names and count.""" -        embed = discord.Embed() -        embed.color = Colours.orange -        embed.title = "Emoji Count" -        embed.timestamp = datetime.datetime.utcnow() +        embed = discord.Embed( +            color=Colours.orange, +            title="Emoji Count", +            timestamp=datetime.datetime.utcnow() +        )          if len(emoji) == 1:              for key, value in emoji.items():                  embed.description = f"There are **{len(value)}** emojis in the **{key}** category" | 
