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.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/commands/general/ask.rs b/src/commands/general/ask.rs
index c715e3a..1300e97 100644
--- a/src/commands/general/ask.rs
+++ b/src/commands/general/ask.rs
@@ -1,6 +1,6 @@
-use crate::{consts, utils, Context, Error};
+use crate::{client::Context, consts, utils};
-use eyre::Context as _;
+use eyre::{Context as _, Result};
/// Ask teawie a question!
#[poise::command(prefix_command, slash_command)]
@@ -10,7 +10,7 @@ pub async fn ask(
#[rename = "question"]
#[description = "The question you want to ask teawie"]
_question: String,
-) -> Result<(), Error> {
+) -> Result<()> {
let resp = utils::random_choice(consts::RESPONSES)
.wrap_err("Couldn't choose from random responses!")?;