From 2f4229a1d312a48e2681156dbfc98608dc451944 Mon Sep 17 00:00:00 2001 From: shibedrill <53824200+shibedrill@users.noreply.github.com> Date: Mon, 29 Apr 2024 15:34:05 -0400 Subject: [PATCH] add cooldown to info --- src/command/util.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/command/util.rs b/src/command/util.rs index 928eb5e..b43b9cb 100644 --- a/src/command/util.rs +++ b/src/command/util.rs @@ -35,7 +35,7 @@ pub async fn age( } /// Show information about this bot -#[poise::command(slash_command)] +#[poise::command(slash_command, global_cooldown = 30)] pub async fn info(ctx: Context<'_>) -> Result<(), Error> { ctx.say(format!( "Shibe Bot v{} was created by Shibe Drill (@shibedrill) using Rust and \