Method RespondRatelimitHitAsync
- Namespace
- DisCatSharp.Entities.Core
- Assembly
- DisCatSharp.dll
RespondRatelimitHitAsync(TContextType, bool, CooldownBucket)
Responds to a ratelimit hit.
Task<bool> RespondRatelimitHitAsync(TContextType ctx, bool noHit, CooldownBucket bucket)
Parameters
ctx
TContextTypeThe command context.
noHit
boolWhether the ratelimit wasn't hit.
bucket
CooldownBucketThe cooldown bucket.