Method RespondRatelimitHitAsync
- Namespace
- DisCatSharp.CommandsNext.Attributes
- Assembly
- DisCatSharp.CommandsNext.dll
RespondRatelimitHitAsync(CommandContext, bool, CooldownBucket)
Responds to a ratelimit hit.
public Task<bool> RespondRatelimitHitAsync(CommandContext ctx, bool noHit, CooldownBucket bucket)
Parameters
ctx
CommandContextThe command context.
noHit
boolWhether the ratelimit wasn't hit.
bucket
CooldownBucketThe cooldown bucket.