chore: remove obsolete command detection
That was used to test serenity
This commit is contained in:
parent
56e51c8d2f
commit
53212d8b11
@ -38,12 +38,6 @@ impl EventHandler for Handler {
|
|||||||
if msg.author.id.get() == constants::KATANA_ID {
|
if msg.author.id.get() == constants::KATANA_ID {
|
||||||
parse_katana(&ctx, &msg).await.unwrap();
|
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(
|
async fn message_update(
|
||||||
&self,
|
&self,
|
||||||
|
Loading…
Reference in New Issue
Block a user