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