diff --git a/src/commands/embed_commands/avatar.rs b/src/commands/embed_commands/avatar.rs index 907ea7e..b34f6be 100644 --- a/src/commands/embed_commands/avatar.rs +++ b/src/commands/embed_commands/avatar.rs @@ -1,7 +1,7 @@ use super::*; /// Get the avatar for someone. -#[poise::command(slash_command, prefix_command, rename = "avatar")] +#[poise::command(slash_command, prefix_command)] pub async fn avatar( ctx: Context<'_>, #[description = "Selected user"] user: Option, diff --git a/src/commands/embed_commands/bonk.rs b/src/commands/embed_commands/bonk.rs index 47c5b2c..509ae55 100644 --- a/src/commands/embed_commands/bonk.rs +++ b/src/commands/embed_commands/bonk.rs @@ -1,7 +1,7 @@ use super::*; /// Bonk someone who's horknee -#[poise::command(prefix_command, slash_command, rename = "bonk")] +#[poise::command(prefix_command, slash_command)] pub async fn bonk( ctx: Context<'_>, #[description = "Selected user"] user: Option, diff --git a/src/commands/embed_commands/boom.rs b/src/commands/embed_commands/boom.rs index 6b03415..370bfb6 100644 --- a/src/commands/embed_commands/boom.rs +++ b/src/commands/embed_commands/boom.rs @@ -3,7 +3,7 @@ use cmd_utils::HU_BOOM_URL; use super::*; /// Just try it. -#[poise::command(slash_command, prefix_command, rename = "boom")] +#[poise::command(slash_command, prefix_command)] pub async fn boom(ctx: Context<'_>) -> Result<(), Error> { let bot_user = Arc::clone(&ctx.data().bot_user); let bot_avatar = bot_user.face().replace(".webp", ".png"); diff --git a/src/commands/embed_commands/bury.rs b/src/commands/embed_commands/bury.rs index 226ddab..e8c0202 100644 --- a/src/commands/embed_commands/bury.rs +++ b/src/commands/embed_commands/bury.rs @@ -1,7 +1,7 @@ use super::*; /// Bury someone -#[poise::command(prefix_command, slash_command, rename = "bury")] +#[poise::command(prefix_command, slash_command)] pub async fn bury( ctx: Context<'_>, #[description = "Selected user"] user: Option, diff --git a/src/commands/embed_commands/chair.rs b/src/commands/embed_commands/chair.rs index 4c975b7..3b2bd6e 100644 --- a/src/commands/embed_commands/chair.rs +++ b/src/commands/embed_commands/chair.rs @@ -1,7 +1,7 @@ use super::*; /// Get a motivation chair GIF -#[poise::command(slash_command, prefix_command, rename = "chair")] +#[poise::command(slash_command, prefix_command)] pub async fn chair(ctx: Context<'_>) -> Result<(), Error> { let embed_item: &str = cmd_utils::get_rand_embed_from_type(&EmbedType::Chair)?; let bot_user = Arc::clone(&ctx.data().bot_user); diff --git a/src/commands/embed_commands/drive.rs b/src/commands/embed_commands/drive.rs index fa28f3d..9782f28 100644 --- a/src/commands/embed_commands/drive.rs +++ b/src/commands/embed_commands/drive.rs @@ -1,7 +1,7 @@ use super::*; /// Get a Ryan Gosling drive GIF. -#[poise::command(slash_command, prefix_command, rename = "drive")] +#[poise::command(slash_command, prefix_command)] pub async fn drive(ctx: Context<'_>) -> Result<(), Error> { let embed_item: &str = cmd_utils::get_rand_embed_from_type(&EmbedType::RyanGoslingDrive)?; diff --git a/src/commands/embed_commands/hug.rs b/src/commands/embed_commands/hug.rs index 7734526..a881ecb 100644 --- a/src/commands/embed_commands/hug.rs +++ b/src/commands/embed_commands/hug.rs @@ -1,7 +1,7 @@ use super::*; /// Hug someone -#[poise::command(prefix_command, slash_command, rename = "hug")] +#[poise::command(prefix_command, slash_command)] pub async fn hug( ctx: Context<'_>, #[description = "Selected user"] user: Option, diff --git a/src/commands/embed_commands/kick.rs b/src/commands/embed_commands/kick.rs index 475fe9f..cfaadc7 100644 --- a/src/commands/embed_commands/kick.rs +++ b/src/commands/embed_commands/kick.rs @@ -1,7 +1,7 @@ use super::*; /// Kick someone -#[poise::command(prefix_command, slash_command, rename = "kick")] +#[poise::command(prefix_command, slash_command)] pub async fn kick( ctx: Context<'_>, #[description = "Selected user"] user: Option, diff --git a/src/commands/embed_commands/kill.rs b/src/commands/embed_commands/kill.rs index 4365923..808702e 100644 --- a/src/commands/embed_commands/kill.rs +++ b/src/commands/embed_commands/kill.rs @@ -1,7 +1,7 @@ use super::*; /// Kill someone (Sadge) -#[poise::command(prefix_command, slash_command, rename = "kill")] +#[poise::command(prefix_command, slash_command)] pub async fn kill( ctx: Context<'_>, #[description = "Selected user"] user: Option, diff --git a/src/commands/embed_commands/kiss.rs b/src/commands/embed_commands/kiss.rs index 2415f5f..f0d5b0b 100644 --- a/src/commands/embed_commands/kiss.rs +++ b/src/commands/embed_commands/kiss.rs @@ -1,7 +1,7 @@ use super::*; /// Kiss someone -#[poise::command(prefix_command, slash_command, rename = "kiss")] +#[poise::command(prefix_command, slash_command)] pub async fn kiss( ctx: Context<'_>, #[description = "Selected user"] user: Option, diff --git a/src/commands/embed_commands/nom.rs b/src/commands/embed_commands/nom.rs index 5ddf9d3..fc33dcf 100644 --- a/src/commands/embed_commands/nom.rs +++ b/src/commands/embed_commands/nom.rs @@ -1,7 +1,7 @@ use super::*; /// Nom someone -#[poise::command(prefix_command, slash_command, rename = "nom")] +#[poise::command(prefix_command, slash_command)] pub async fn nom( ctx: Context<'_>, #[description = "Selected user"] user: Option, diff --git a/src/commands/embed_commands/pat.rs b/src/commands/embed_commands/pat.rs index 47f662d..af4c13d 100644 --- a/src/commands/embed_commands/pat.rs +++ b/src/commands/embed_commands/pat.rs @@ -1,7 +1,7 @@ use super::*; /// Pat someone -#[poise::command(prefix_command, slash_command, rename = "pat")] +#[poise::command(prefix_command, slash_command)] pub async fn pat( ctx: Context<'_>, #[description = "Selected user"] user: Option, diff --git a/src/commands/embed_commands/peek.rs b/src/commands/embed_commands/peek.rs index abb7bde..b6a7d6f 100644 --- a/src/commands/embed_commands/peek.rs +++ b/src/commands/embed_commands/peek.rs @@ -1,7 +1,7 @@ use super::*; /// Send a peek GIF in the chat (you lurker) -#[poise::command(prefix_command, slash_command, rename = "peek")] +#[poise::command(prefix_command, slash_command)] pub async fn peek(ctx: Context<'_>) -> Result<(), Error> { let embed_item: &str = cmd_utils::get_rand_embed_from_type(&EmbedType::Peek)?; let response: String = format!("{} is lurking . . .", ctx.author().name,); diff --git a/src/commands/embed_commands/punch.rs b/src/commands/embed_commands/punch.rs index 87b832f..0045bd6 100644 --- a/src/commands/embed_commands/punch.rs +++ b/src/commands/embed_commands/punch.rs @@ -1,7 +1,7 @@ use super::*; /// Punch someone -#[poise::command(prefix_command, slash_command, rename = "punch")] +#[poise::command(prefix_command, slash_command)] pub async fn punch( ctx: Context<'_>, #[description = "Selected user"] user: Option, diff --git a/src/commands/embed_commands/selfbury.rs b/src/commands/embed_commands/selfbury.rs index df788cf..8e03570 100644 --- a/src/commands/embed_commands/selfbury.rs +++ b/src/commands/embed_commands/selfbury.rs @@ -1,7 +1,7 @@ use super::*; /// Bury yourself (perhaps to help Hu Tao's busines idk...) -#[poise::command(prefix_command, slash_command, rename = "selfbury")] +#[poise::command(prefix_command, slash_command)] pub async fn selfbury(ctx: Context<'_>) -> Result<(), Error> { let embed_item: &str = cmd_utils::get_rand_embed_from_type(&EmbedType::SelfBury)?; let response: String = format!("**{}** *buries themselves*", ctx.author().name,); diff --git a/src/commands/embed_commands/slap.rs b/src/commands/embed_commands/slap.rs index 1126622..c5783c4 100644 --- a/src/commands/embed_commands/slap.rs +++ b/src/commands/embed_commands/slap.rs @@ -1,7 +1,7 @@ use super::*; /// Slap someone -#[poise::command(prefix_command, slash_command, rename = "slap")] +#[poise::command(prefix_command, slash_command)] pub async fn slap( ctx: Context<'_>, #[description = "Selected user"] user: Option, diff --git a/src/commands/embed_commands/tieup.rs b/src/commands/embed_commands/tieup.rs index b01a21c..30dc993 100644 --- a/src/commands/embed_commands/tieup.rs +++ b/src/commands/embed_commands/tieup.rs @@ -1,7 +1,7 @@ use super::*; /// Tie someone up (HUH?) -#[poise::command(prefix_command, slash_command, rename = "tieup")] +#[poise::command(prefix_command, slash_command)] pub async fn tieup( ctx: Context<'_>, #[description = "Selected user"] user: Option, diff --git a/src/commands/level_cmds/level.rs b/src/commands/level_cmds/level.rs index 4e96620..c534819 100644 --- a/src/commands/level_cmds/level.rs +++ b/src/commands/level_cmds/level.rs @@ -5,7 +5,7 @@ const LEVEL_STEPS: [f32; 14] = [ ]; /// Displays the user's level -#[poise::command(slash_command, prefix_command, rename = "level")] +#[poise::command(slash_command, prefix_command)] pub async fn level( ctx: Context<'_>, #[description = "Selected user"] user: Option, diff --git a/src/commands/level_cmds/toplevels.rs b/src/commands/level_cmds/toplevels.rs index 79715b6..996f637 100644 --- a/src/commands/level_cmds/toplevels.rs +++ b/src/commands/level_cmds/toplevels.rs @@ -1,7 +1,7 @@ use super::*; /// Displays the levels for the top 9 users. -#[poise::command(slash_command, prefix_command, rename = "toplevels")] +#[poise::command(slash_command, prefix_command)] pub async fn toplevels(ctx: Context<'_>) -> Result<(), Error> { let message_guild_id = match ctx.guild_id() { Some(msg) => msg,