From 8d22f09089b13d013cf94526c205f374bdf873c3 Mon Sep 17 00:00:00 2001 From: seth Date: Fri, 15 Dec 2023 03:17:20 -0500 Subject: enable clippy::all, clippy::pedantic, & clippy::perf --- src/commands/general/ask.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/commands/general/ask.rs') diff --git a/src/commands/general/ask.rs b/src/commands/general/ask.rs index 3f225bb..ba18bdd 100644 --- a/src/commands/general/ask.rs +++ b/src/commands/general/ask.rs @@ -6,9 +6,7 @@ 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"] - #[rename = "Question"] - _question: String, + #[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