Table of Contents

Class CooldownBucket

Namespace
DisCatSharp.Entities.Core
Assembly
DisCatSharp.dll

Represents a cooldown bucket.

public class CooldownBucket : IBucket, IEquatable<CooldownBucket>
Inheritance
CooldownBucket
Implements
Inherited Members

Properties

BucketId

The id for this bucket.

ChannelId

The channel id for this bucket.

GuildId

The guild id for this bucket.

MaxUses

The max uses for this bucket.

MemberId

The member id for this bucket.

RemainingUses

The remaining uses for this bucket.

Reset

The timespan when this bucket resets.

ResetsAt

The datetime offset when this bucket resets.

UserId

The user id for this bucket.

Methods

Equals(CooldownBucket?)

Checks whether this CooldownBucket is equal to another CooldownBucket.

Equals(object?)

Checks whether this CooldownBucket is equal to another object.

GetHashCode()

Gets the hash code for this CooldownBucket.

MakeId(string, string, ulong, ulong, ulong, ulong)

Creates a bucket ID from given bucket parameters.

Operators

operator ==(CooldownBucket?, CooldownBucket?)

Gets whether the two CooldownBucket objects are equal.

operator !=(CooldownBucket, CooldownBucket)

Gets whether the two CooldownBucket objects are not equal.