From 13b54108494b7492b3772ff477ed9a02c56c7972 Mon Sep 17 00:00:00 2001 From: seth Date: Thu, 16 Nov 2023 23:19:29 -0500 Subject: chore: cleanup imports --- src/commands/ask.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/commands/ask.rs') 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(()) -- cgit v1.2.3