fix - pyramid is recognized finished as expected

This commit is contained in:
modulatingforce 2025-02-02 17:06:42 -05:00
parent 46cff68bc1
commit 5a02b090c6

View file

@ -66,7 +66,11 @@ fn create_pyramid_detector() -> Listener {
async fn execbody(bot:Arc<Bot>,message:ServerMessage) -> Result<String,String> {
if let ServerMessage::Privmsg(msg) = message {
// if detect_pyramid_complete_ok(bot.clone(), msg.clone()).await {
let _ = bot.client.say_in_reply_to(&msg, "Clap".to_string()).await ;
set_pyramid_started(msg.channel_login,false);
return Result::Ok("Success".to_string()) ;
// }
}