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/teawiespam.rs | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 src/commands/teawiespam.rs (limited to 'src/commands/teawiespam.rs') diff --git a/src/commands/teawiespam.rs b/src/commands/teawiespam.rs deleted file mode 100644 index aeea255..0000000 --- a/src/commands/teawiespam.rs +++ /dev/null @@ -1,19 +0,0 @@ -use crate::Context; - -use color_eyre::eyre::Result; -use log::*; - -/// teawie will spam you. -#[poise::command(slash_command, prefix_command)] -pub async fn teawiespam(ctx: Context<'_>) -> Result<()> { - let gid = ctx.guild_id().unwrap_or_default(); - - if !ctx.data().settings.is_guild_allowed(gid) { - info!("not running teawiespam command in {gid}"); - return Ok(()); - } - - let wies = "<:teawiesmile:1056438046440042546>".repeat(50); - ctx.say(wies).await?; - Ok(()) -} -- cgit v1.2.3