Table of Contents

Method GetBucket

Namespace
DisCatSharp.Entities.Core
Assembly
DisCatSharp.dll

GetBucket(TContextType)

Gets a cooldown bucket for given context

TBucketType GetBucket(TContextType ctx)

Parameters

ctx TContextType

Command context to get cooldown bucket for.

Returns

TBucketType

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