diff options
-rw-r--r-- | lingo.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lingo.cpp b/lingo.cpp index afa7a4c..cf5d033 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 | } |
@@ -608,8 +611,8 @@ private: | |||
608 | {kBottom, kRed}, | 611 | {kBottom, kRed}, |
609 | {kBottom, kBlue}, | 612 | {kBottom, kBlue}, |
610 | {kBottom, kGreen}, | 613 | {kBottom, kGreen}, |
611 | {kBottom, kMagenta}, | 614 | //{kBottom, kMagenta}, |
612 | {kBottom, kLime}, | 615 | //{kBottom, kLime}, |
613 | }; | 616 | }; |
614 | 617 | ||
615 | std::set<std::tuple<Height, Colour>> expensive_hints = { | 618 | std::set<std::tuple<Height, Colour>> expensive_hints = { |