From cc35ac5be15a3b20fd02c2a5d4a499c41f9d6bc9 Mon Sep 17 00:00:00 2001 From: seth Date: Fri, 15 Dec 2023 16:20:51 -0500 Subject: commands: fix question param in ask --- src/commands/general/ask.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/commands/general') diff --git a/src/commands/general/ask.rs b/src/commands/general/ask.rs index ba18bdd..7775fb7 100644 --- a/src/commands/general/ask.rs +++ b/src/commands/general/ask.rs @@ -6,7 +6,9 @@ use color_eyre::eyre::{Context as _, Result}; #[poise::command(prefix_command, slash_command)] pub async fn ask( ctx: Context<'_>, - #[description = "The question you want to ask teawie"] _question: String, + #[rename = "question"] + #[description = "The question you want to ask teawie"] + _question: String, ) -> Result<()> { let resp = utils::random_choice(consts::RESPONSES) .wrap_err("Couldn't choose from random responses!")?; -- cgit v1.2.3