setCooldown
Sets a cooldown
public setCooldown(name: string, guild: Guild, user: User | GuildMember, timer: string | number): this
name: command name for cooldown
guild: guild where the cooldown is
user: what user will receive the cooldown
timer: how much time will be the cooldown
Last updated
Was this helpful?