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