aboutsummaryrefslogtreecommitdiffstats
path: root/bot/seasons/christmas/adventofcode.py
diff options
context:
space:
mode:
authorGravatar S. Co1 <[email protected]>2019-12-02 22:14:50 -0500
committerGravatar GitHub <[email protected]>2019-12-02 22:14:50 -0500
commit3ae56c2688ef56069a06b8fe7129f6e126f9b25a (patch)
tree8f2600984e335bf9bcd133f1d56b3baa6e137b4d /bot/seasons/christmas/adventofcode.py
parentCancel season related tasks on cog unload (#320) (diff)
parentAdd envelope reaction if AoC join DM sends successfully (diff)
Add envelope reaction on successful AoC join DM dispatch (#324)
Add envelope reaction on successful AoC join DM dispatch
Diffstat (limited to 'bot/seasons/christmas/adventofcode.py')
-rw-r--r--bot/seasons/christmas/adventofcode.py2
1 files changed, 2 insertions, 0 deletions
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",