diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2022-12-12 20:11:54 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2022-12-12 20:11:54 -0500 |
commit | c7af4afb25a3fc082624960007e17b09b29887d8 (patch) | |
tree | 69775734389fb06919124692576f13f34723a21c /lingo.cpp | |
parent | 9f29d33d4dd0c6ad4962ee6567584acafaf7db2a (diff) | |
download | lingo-c7af4afb25a3fc082624960007e17b09b29887d8.tar.gz lingo-c7af4afb25a3fc082624960007e17b09b29887d8.tar.bz2 lingo-c7af4afb25a3fc082624960007e17b09b29887d8.zip |
Puzzle post gets an emote once it has been solved
Diffstat (limited to 'lingo.cpp')
-rw-r--r-- | lingo.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lingo.cpp b/lingo.cpp index 2d54a07..04ab14c 100644 --- a/lingo.cpp +++ b/lingo.cpp | |||
@@ -360,6 +360,8 @@ public: | |||
360 | bot_->message_add_reaction(event.msg.id, event.msg.channel_id, "✅"); | 360 | bot_->message_add_reaction(event.msg.id, event.msg.channel_id, "✅"); |
361 | } else { | 361 | } else { |
362 | bot_->message_add_reaction(event.msg.id, event.msg.channel_id, "🎉"); | 362 | bot_->message_add_reaction(event.msg.id, event.msg.channel_id, "🎉"); |
363 | bot_->message_add_reaction(puzzle_id, event.msg.channel_id, "🏁"); | ||
364 | |||
363 | solved_puzzles_.insert(puzzle_id); | 365 | solved_puzzles_.insert(puzzle_id); |
364 | 366 | ||
365 | // Submit the score to the scoreboard. | 367 | // Submit the score to the scoreboard. |