internal void resetCoolDown(long id, string externalName, Author.InteractionCooldownTimer timerType) { this.getAuthor(id, externalName)?.resetCoolDown(timerType); }
internal TimeSpan getCoolDownTimer(long id, string externalName, Author.InteractionCooldownTimer timerType) { Author author = this.getAuthor(id, externalName); return(author?.getCoolDownTimer(timerType) ?? TimeSpan.MaxValue); }
internal bool isCoolDownOver(long id, string externalName, Author.InteractionCooldownTimer timerType) { Author author = this.getAuthor(id, externalName); return(author?.coolDownOver(timerType) ?? false); }