aboutsummaryrefslogtreecommitdiffstats
path: root/bot
diff options
context:
space:
mode:
authorGravatar Anubhav <[email protected]>2020-10-03 12:44:19 +0530
committerGravatar GitHub <[email protected]>2020-10-03 12:44:19 +0530
commit38968a545f3f237542448e4853d18e274c63e86d (patch)
treeb4334f7a3bac1f978efc322d6b460445d946e01d /bot
parentMerge branch 'ec' of github.com:Anubhav1603/seasonalbot into ec (diff)
Update bot/exts/evergreen/emoji_count.py
Co-authored-by: ks129 <[email protected]>
Diffstat (limited to 'bot')
-rw-r--r--bot/exts/evergreen/emoji_count.py7
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]] = []