Table of Contents

Method GetBucket

Namespace
DisCatSharp.ApplicationCommands.Attributes
Assembly
DisCatSharp.ApplicationCommands.dll

GetBucket(BaseContext)

Gets a cooldown bucket for given command context.

public CooldownBucket GetBucket(BaseContext ctx)

Parameters

ctx BaseContext

Command context to get cooldown bucket for.

Returns

CooldownBucket

Requested cooldown bucket, or null if one wasn't present.