summaryrefslogtreecommitdiff
path: root/src/commands/teawiespam.rs
blob: da01af9c5a874a2edfc78e7be1a4a2c70e71291c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
use crate::utils;
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 !utils::is_guild_allowed(gid) {
		info!("not running teawiespam command in {gid}");
		return Ok(());
	}

	let wies = "<:teawiesmile:1056438046440042546>".repeat(50);
	ctx.say(wies).await?;
	Ok(())
}