From c7af4afb25a3fc082624960007e17b09b29887d8 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Mon, 12 Dec 2022 20:11:54 -0500 Subject: Puzzle post gets an emote once it has been solved --- lingo.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lingo.cpp') diff --git a/lingo.cpp b/lingo.cpp index 2d54a07..04ab14c 100644 --- a/lingo.cpp +++ b/lingo.cpp @@ -360,6 +360,8 @@ public: bot_->message_add_reaction(event.msg.id, event.msg.channel_id, "✅"); } else { bot_->message_add_reaction(event.msg.id, event.msg.channel_id, "🎉"); + bot_->message_add_reaction(puzzle_id, event.msg.channel_id, "🏁"); + solved_puzzles_.insert(puzzle_id); // Submit the score to the scoreboard. -- cgit 1.4.1