Table of Contents

Method GetBucket

Namespace
DisCatSharp.CommandsNext.Attributes
Assembly
DisCatSharp.CommandsNext.dll

GetBucket(CommandContext)

Gets a cooldown bucket for given command context.

public CooldownBucket GetBucket(CommandContext ctx)

Parameters

ctx CommandContext

Command context to get cooldown bucket for.

Returns

CooldownBucket

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