Table of Contents

Enum SlashCooldownBucketType

Namespace
DSharpPlus.SlashCommands.Attributes
Assembly
DSharpPlus.SlashCommands.dll

Defines how are command cooldowns applied.

public enum SlashCooldownBucketType
Extension Methods

Fields

Channel = 2

Denotes that the command will have its cooldown applied per-channel.

Global = 0

Denotes that the command will have its cooldown applied globally.

Guild = 4

Denotes that the command will have its cooldown applied per-guild. In DMs, this applies the cooldown per-channel.

User = 1

Denotes that the command will have its cooldown applied per-user.