diff options
author | 2019-12-02 23:22:59 +0100 | |
---|---|---|
committer | 2019-12-02 23:22:59 +0100 | |
commit | 4af0413204d24ff4931118363149920601a137fd (patch) | |
tree | 8f2600984e335bf9bcd133f1d56b3baa6e137b4d /bot/seasons/christmas/adventofcode.py | |
parent | Add envelope emoji constant (diff) |
Add envelope reaction if AoC join DM sends successfully
Diffstat (limited to 'bot/seasons/christmas/adventofcode.py')
-rw-r--r-- | bot/seasons/christmas/adventofcode.py | 2 |
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", |