From 0025ad5ea8d412aacc3184d18063fd5ff3de0175 Mon Sep 17 00:00:00 2001 From: seth Date: Sat, 2 Dec 2023 07:00:24 -0500 Subject: feat: add per guild configuration --- src/commands/ask.rs | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 src/commands/ask.rs (limited to 'src/commands/ask.rs') diff --git a/src/commands/ask.rs b/src/commands/ask.rs deleted file mode 100644 index 3589484..0000000 --- a/src/commands/ask.rs +++ /dev/null @@ -1,18 +0,0 @@ -use crate::{consts, utils, Context}; - -use color_eyre::eyre::{Context as _, Result}; - -/// ask teawie a question! -#[poise::command(prefix_command, slash_command)] -pub async fn ask( - ctx: Context<'_>, - #[description = "the question you want to ask teawie"] - #[rename = "question"] - _question: String, -) -> Result<()> { - let resp = utils::random_choice(consts::RESPONSES) - .wrap_err("couldn't choose from random responses!")?; - - ctx.say(resp).await?; - Ok(()) -} -- cgit v1.2.3