diff --git a/src/commands/lfg.rs b/src/commands/lfg.rs index e4ec903..d6709dd 100644 --- a/src/commands/lfg.rs +++ b/src/commands/lfg.rs @@ -50,7 +50,6 @@ pub enum Difficulty { slash_command, install_context = "Guild", interaction_context = "Guild", - ephemeral = "false" )] /// Find a team for Hypixel Zombies. pub(crate) async fn lfg( @@ -76,7 +75,7 @@ pub(crate) async fn lfg( #[rename = "message"] note: Option, ) -> Result<(), Error> { - ctx.defer().await?; + cooldown(&ctx, 600, 300)?; let current: u8 = current_players.unwrap_or(1); let mut desired: u8 = desired_players.unwrap_or(4); if current >= desired { @@ -122,7 +121,6 @@ pub(crate) async fn lfg( .ephemeral(false) .allowed_mentions(CreateAllowedMentions::new().roles(vec![ping])); - cooldown(&ctx, 600, 300)?; ctx.send(reply).await?; Ok(()) } @@ -145,7 +143,6 @@ enum ExpertMap { slash_command, install_context = "Guild", interaction_context = "Guild", - ephemeral = "false", rename = "lfg-expert" )] /// Find a team of skilled players. @@ -224,14 +221,6 @@ pub(crate) async fn expert( .ephemeral(true), }; ctx.send(reply).await?; - ctx.send( - CreateReply::default() - .content( - "Please be aware of the musava helpstart project. Use /helpstart as reference.", - ) - .ephemeral(true), - ) - .await?; Ok(()) } @@ -245,7 +234,6 @@ enum OtherPing { slash_command, install_context = "Guild", interaction_context = "Guild", - ephemeral = "false", rename = "lfg-other" )] /// Find people to play other games with.