diff --git a/cipher_discord_bot/src/commands/mod.rs b/cipher_discord_bot/src/commands/mod.rs index b5e5ec5..7a0486a 100644 --- a/cipher_discord_bot/src/commands/mod.rs +++ b/cipher_discord_bot/src/commands/mod.rs @@ -3,7 +3,6 @@ use cipher_core::repository::RepositoryProvider; use crate::app::AppCommand; mod help; -mod ping; mod profile; pub fn commands() -> Vec> @@ -12,7 +11,6 @@ where { vec![ help::help(), - ping::ping(), profile::profile(), ] } diff --git a/cipher_discord_bot/src/commands/ping.rs b/cipher_discord_bot/src/commands/ping.rs deleted file mode 100644 index cf03644..0000000 --- a/cipher_discord_bot/src/commands/ping.rs +++ /dev/null @@ -1,22 +0,0 @@ -use poise::CreateReply; -use cipher_core::repository::RepositoryProvider; -use serenity::all::CreateEmbed; - -use crate::app::AppContext; -use crate::app::AppError; -use crate::utils; - -/// Is the bot alive or dead? :thinking: -#[poise::command(slash_command)] -pub async fn ping(ctx: AppContext<'_, R, R::BackendError>) -> Result<(), AppError> { - let embed = CreateEmbed::new() - .title("Pong :ping_pong:") - .color(utils::bot_color(&ctx).await); - - let reply = CreateReply::default() - .embed(embed); - - ctx.send(reply).await?; - - Ok(()) -}