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(()) }