summaryrefslogtreecommitdiff
path: root/src/commands/teawiespam.rs
diff options
context:
space:
mode:
authorseth <[email protected]>2023-12-02 07:00:24 -0500
committerseth <[email protected]>2023-12-15 16:41:13 -0500
commit0025ad5ea8d412aacc3184d18063fd5ff3de0175 (patch)
tree1d2b5ac5c04a092756180722358d929feeae50aa /src/commands/teawiespam.rs
parentac32ec2a0ba37deb0ad82b4f2ee9c1e1b359cc88 (diff)
feat: add per guild configuration
Diffstat (limited to 'src/commands/teawiespam.rs')
-rw-r--r--src/commands/teawiespam.rs19
1 files changed, 0 insertions, 19 deletions
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(())
-}