Table of Contents

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 TContextType

The command context.

noHit bool

Whether the ratelimit wasn't hit.

bucket CooldownBucket

The cooldown bucket.

Returns

Task<bool>