Table of Contents

Method GetBucket

Namespace
DSharpPlus.CommandsNext.Attributes
Assembly
DSharpPlus.CommandsNext.dll

GetBucket(CommandContext)

Gets a cooldown bucket for given command context.

public CommandCooldownBucket GetBucket(CommandContext ctx)

Parameters

ctx CommandContext

Command context to get cooldown bucket for.

Returns

CommandCooldownBucket

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