summaryrefslogtreecommitdiff
path: root/src/commands/ask.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/ask.rs')
-rw-r--r--src/commands/ask.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/ask.rs b/src/commands/ask.rs
index 5075b9d..7cc82a1 100644
--- a/src/commands/ask.rs
+++ b/src/commands/ask.rs
@@ -1,5 +1,5 @@
use crate::consts;
-use crate::utils::random_choice;
+use crate::utils;
use crate::{Context, Error};
/// ask teawie a question!
@@ -10,7 +10,7 @@ pub async fn ask(
#[rename = "question"]
_question: String,
) -> Result<(), Error> {
- match random_choice(consts::RESPONSES) {
+ match utils::random_choice(consts::RESPONSES) {
Ok(resp) => {
ctx.say(resp).await?;
Ok(())