add cooldown to info

This commit is contained in:
shibedrill 2024-04-29 15:34:05 -04:00
parent c8157c70ae
commit 2f4229a1d3

View File

@ -35,7 +35,7 @@ pub async fn age(
} }
/// Show information about this bot /// Show information about this bot
#[poise::command(slash_command)] #[poise::command(slash_command, global_cooldown = 30)]
pub async fn info(ctx: Context<'_>) -> Result<(), Error> { pub async fn info(ctx: Context<'_>) -> Result<(), Error> {
ctx.say(format!( ctx.say(format!(
"Shibe Bot v{} was created by Shibe Drill (@shibedrill) using Rust and \ "Shibe Bot v{} was created by Shibe Drill (@shibedrill) using Rust and \