summaryrefslogtreecommitdiff
path: root/src/commands/general/ask.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/general/ask.rs')
-rw-r--r--src/commands/general/ask.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/commands/general/ask.rs b/src/commands/general/ask.rs
index 1300e97..8d83622 100644
--- a/src/commands/general/ask.rs
+++ b/src/commands/general/ask.rs
@@ -1,18 +1,18 @@
use crate::{client::Context, consts, utils};
-use eyre::{Context as _, Result};
+use anyhow::{Context as _, Result};
-/// Ask teawie a question!
+/// Ask a question!
#[poise::command(prefix_command, slash_command)]
#[allow(clippy::no_effect_underscore_binding)]
pub async fn ask(
ctx: Context<'_>,
#[rename = "question"]
- #[description = "The question you want to ask teawie"]
+ #[description = "The question you want to ask"]
_question: String,
) -> Result<()> {
let resp = utils::random_choice(consts::RESPONSES)
- .wrap_err("Couldn't choose from random responses!")?;
+ .context("Couldn't choose from random responses!")?;
ctx.say(resp).await?;
Ok(())