From a4a9353e1c8f902b7d7b3cf74e3e5b129c214330 Mon Sep 17 00:00:00 2001 From: seth Date: Mon, 10 Jul 2023 00:18:36 -0400 Subject: start using poise --- src/commands/teawiespam.rs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/commands/teawiespam.rs (limited to 'src/commands/teawiespam.rs') diff --git a/src/commands/teawiespam.rs b/src/commands/teawiespam.rs new file mode 100644 index 0000000..4964e90 --- /dev/null +++ b/src/commands/teawiespam.rs @@ -0,0 +1,17 @@ +use crate::utils; +use crate::{Context, Error}; +use log::*; + +/// teawie will spam you. +#[poise::command(slash_command, prefix_command)] +pub async fn teawiespam(ctx: Context<'_>) -> Result<(), Error> { + let gid = ctx.guild_id().unwrap_or_default(); + if !utils::is_guild_allowed(gid) { + info!("not running copypasta command in {gid}"); + return Ok(()); + } + + let wies = "<:teawiesmile:1056438046440042546>".repeat(50); + ctx.say(wies).await?; + Ok(()) +} -- cgit v1.2.3