From 53212d8b112158939a1b33a3ea4899c73372c685 Mon Sep 17 00:00:00 2001 From: tretrauit Date: Mon, 8 Jan 2024 19:43:26 +0700 Subject: [PATCH] chore: remove obsolete command detection That was used to test serenity --- swordfish/src/main.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/swordfish/src/main.rs b/swordfish/src/main.rs index 5257e76..1c121ba 100644 --- a/swordfish/src/main.rs +++ b/swordfish/src/main.rs @@ -38,12 +38,6 @@ impl EventHandler for Handler { if msg.author.id.get() == constants::KATANA_ID { parse_katana(&ctx, &msg).await.unwrap(); } - if msg.content == "pong" { - info!("Message contains 'pong'"); - if let Err(why) = msg.channel_id.say(&ctx.http, "Pongo!").await { - println!("Error sending message: {:?}", why); - } - } } async fn message_update( &self,