From e2835e2726ec6059373174f9cfaa4824165e59ec Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Wed, 14 Dec 2022 00:45:26 +0000 Subject: Added emote reaction when answer length is wrong --- lingo.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lingo.cpp') diff --git a/lingo.cpp b/lingo.cpp index 809685e..7fa0374 100644 --- a/lingo.cpp +++ b/lingo.cpp @@ -404,6 +404,10 @@ public: } } else { bot_->message_add_reaction(event.msg.id, event.msg.channel_id, "❌"); + if (canonical_attempt.size() != canonical_answer.size()) + { + bot_->message_add_reaction(event.msg.id, event.msg.channel_id, "🍂"); + } } } }); -- cgit 1.4.1