add cooldown to info
This commit is contained in:
parent
c8157c70ae
commit
2f4229a1d3
@ -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 \
|
||||||
|
Loading…
Reference in New Issue
Block a user