summaryrefslogtreecommitdiff
path: root/src/commands/general/ask.rs
diff options
context:
space:
mode:
authorseth <[email protected]>2023-12-15 03:17:20 -0500
committerseth <[email protected]>2023-12-15 16:41:13 -0500
commit8d22f09089b13d013cf94526c205f374bdf873c3 (patch)
tree505c864e5683e6ece7d2ead2f9e019b8cc797548 /src/commands/general/ask.rs
parentebdcc85dc7c80796446535fa2799bb62f2c12aac (diff)
enable clippy::all, clippy::pedantic, & clippy::perf
Diffstat (limited to 'src/commands/general/ask.rs')
-rw-r--r--src/commands/general/ask.rs4
1 files changed, 1 insertions, 3 deletions
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!")?;