diff options
-rw-r--r-- | bot/constants.py | 1 | ||||
-rw-r--r-- | bot/seasons/christmas/adventofcode.py | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/bot/constants.py b/bot/constants.py index bea595d6..c09d8369 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -81,6 +81,7 @@ class Emojis: star = "\u2B50" christmas_tree = "\U0001F384" check = "\u2611" + envelope = "\U0001F4E8" terning1 = "<:terning1:431249668983488527>" terning2 = "<:terning2:462339216987127808>" diff --git a/bot/seasons/christmas/adventofcode.py b/bot/seasons/christmas/adventofcode.py index fe2fa956..b59c4eba 100644 --- a/bot/seasons/christmas/adventofcode.py +++ b/bot/seasons/christmas/adventofcode.py @@ -204,6 +204,8 @@ class AdventOfCode(commands.Cog): except discord.errors.Forbidden: log.debug(f"{author.name} ({author.id}) has disabled DMs from server members") await ctx.send(f":x: {author.mention}, please (temporarily) enable DMs to receive the join code") + else: + await ctx.message.add_reaction(Emojis.envelope) @adventofcode_group.command( name="leaderboard", |