From 0f19e275d250c458bbe95dced45923b8aed2cbb3 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Tue, 6 Jun 2023 17:28:26 +0000 Subject: React with nobell when ping is off --- lingo.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lingo.cpp') diff --git a/lingo.cpp b/lingo.cpp index fde9383..d5e8fcb 100644 --- a/lingo.cpp +++ b/lingo.cpp @@ -453,7 +453,10 @@ public: } } else { bot_->message_add_reaction(event.msg.id, event.msg.channel_id, "❌"); - if (canonical_attempt.size() != canonical_answer.size()) + if (canonical_attempt.empty()) + { + bot_->message_add_reaction(event.msg.id, event.msg.channel_id, "🔕"); + } else if (canonical_attempt.size() != canonical_answer.size()) { bot_->message_add_reaction(event.msg.id, event.msg.channel_id, "🍂"); } -- cgit 1.4.1