Cleanup commands

This commit is contained in:
2024-09-05 13:12:39 -04:00
parent 399eb8a29d
commit 3994c18c49
9 changed files with 182 additions and 278 deletions

View File

@@ -66,10 +66,7 @@ impl EventHandler for Handler {
"ping" => commands::ping::run(&command.data.options),
_ => "Unknown command".to_string(),
};
if let Err(why) = create_response(&ctx, &command, content).await {
warn!("Cannot respond to slash command: {}", why);
}
create_response(&ctx, &command, content).await;
}
}
}