diff options
Diffstat (limited to '')
| -rw-r--r-- | bot/exts/evergreen/emoji_count.py | 7 | 
1 files changed, 4 insertions, 3 deletions
| diff --git a/bot/exts/evergreen/emoji_count.py b/bot/exts/evergreen/emoji_count.py index 3ad0d61b..b32fd0ed 100644 --- a/bot/exts/evergreen/emoji_count.py +++ b/bot/exts/evergreen/emoji_count.py @@ -40,9 +40,10 @@ class EmojiCount(commands.Cog):      @staticmethod      def generate_invalid_embed(ctx: commands.Context) -> discord.Embed:          """Genrates error embed.""" -        embed = discord.Embed() -        embed.color = Colours.soft_red -        embed.title = random.choice(ERROR_REPLIES) +        embed = discord.Embed( +            color=Colours.soft_red, +            title=random.choice(ERROR_REPLIES) +        )          emoji_dict = {}          for emoji in ctx.guild.emojis:              emoji_dict[emoji.name.split("_")[0]] = [] | 
