Table of Contents

Interface IBucket

Namespace
DisCatSharp.Entities.Core
Assembly
DisCatSharp.dll

Defines the standard contract for bucket feature

public interface IBucket

Properties

BucketId

Gets the ID of the bucket. This is used to distinguish between cooldown buckets

ChannelId

Gets the ID of the channel with which this cooldown is associated

GuildId

Gets the ID of the guild with which this cooldown is associated

MaxUses

Gets the maximum number of times this command can be used in a given timespan

RemainingUses

Gets the remaining number of uses before the cooldown is triggered

Reset

Get the time after which this cooldown resets

ResetsAt

Gets the date and time at which the cooldown resets

UserId

Gets the ID of the user whom this cooldown is associated