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
ctxTContextTypeThe command context.
noHitboolWhether the ratelimit wasn't hit.
bucketCooldownBucketThe cooldown bucket.