Beispiel #1
0
 internal void resetCoolDown(long id, string externalName, Author.InteractionCooldownTimer timerType)
 {
     this.getAuthor(id, externalName)?.resetCoolDown(timerType);
 }
Beispiel #2
0
        internal TimeSpan getCoolDownTimer(long id, string externalName, Author.InteractionCooldownTimer timerType)
        {
            Author author = this.getAuthor(id, externalName);

            return(author?.getCoolDownTimer(timerType) ?? TimeSpan.MaxValue);
        }
Beispiel #3
0
        internal bool isCoolDownOver(long id, string externalName, Author.InteractionCooldownTimer timerType)
        {
            Author author = this.getAuthor(id, externalName);

            return(author?.coolDownOver(timerType) ?? false);
        }