diff options
Diffstat (limited to 'lingo.cpp')
-rw-r--r-- | lingo.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lingo.cpp b/lingo.cpp index fde9383..d5e8fcb 100644 --- a/lingo.cpp +++ b/lingo.cpp | |||
@@ -453,7 +453,10 @@ public: | |||
453 | } | 453 | } |
454 | } else { | 454 | } else { |
455 | bot_->message_add_reaction(event.msg.id, event.msg.channel_id, "❌"); | 455 | bot_->message_add_reaction(event.msg.id, event.msg.channel_id, "❌"); |
456 | if (canonical_attempt.size() != canonical_answer.size()) | 456 | if (canonical_attempt.empty()) |
457 | { | ||
458 | bot_->message_add_reaction(event.msg.id, event.msg.channel_id, "🔕"); | ||
459 | } else if (canonical_attempt.size() != canonical_answer.size()) | ||
457 | { | 460 | { |
458 | bot_->message_add_reaction(event.msg.id, event.msg.channel_id, "🍂"); | 461 | bot_->message_add_reaction(event.msg.id, event.msg.channel_id, "🍂"); |
459 | } | 462 | } |