From 318925522b30d97425c644db05740c8f3410ed2c Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Thu, 8 Dec 2022 19:23:10 -0500 Subject: Ok boomer --- lingo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lingo.cpp b/lingo.cpp index 3b60c82..e6c5177 100644 --- a/lingo.cpp +++ b/lingo.cpp @@ -70,7 +70,7 @@ public: bot_->on_message_create([this](const dpp::message_create_t& event) { std::lock_guard answer_lock(answers_mutex_); - if (answer_by_message_.count(event.msg.message_reference.message_id)) + if (answer_by_message_.count(static_cast(event.msg.message_reference.message_id))) { std::string canonical_answer = hatkirby::lowercase(answer_by_message_[event.msg.message_reference.message_id]); std::string canonical_attempt = hatkirby::lowercase(event.msg.content); -- cgit 1.4.1