summaryrefslogtreecommitdiff
path: root/src/commands/ask.rs
diff options
context:
space:
mode:
authorseth <[email protected]>2023-11-16 23:19:29 -0500
committerseth <[email protected]>2023-11-18 01:42:03 +0000
commit13b54108494b7492b3772ff477ed9a02c56c7972 (patch)
tree416247f2cb3404613f60373b59f65c592ce19173 /src/commands/ask.rs
parent86318aa4aa8a7547e6398342a0c7b609e307dd5d (diff)
chore: cleanup imports
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(())