Method GetRemainingCooldown
- Namespace
- DisCatSharp.Entities.Core
- Assembly
- DisCatSharp.dll
GetRemainingCooldown(TContextType)
Calculates the cooldown remaining for given context.
TimeSpan GetRemainingCooldown(TContextType ctx)
Parameters
ctx
TContextTypeContext for which to calculate the cooldown.
Returns
- TimeSpan
Remaining cooldown, or zero if no cooldown is active