Esempio n. 1
0
 public bool Audit(ICommandContext context, ResponseService responser)
 => base.Audit(context.User.Id, () =>
 {
     var time = new TimeSpan(0, 0, (int)cooldown / 1000).AsRoundedDuration();
     _        = responser.SendToContextAsync(context, $"{context.User.Mention}, you are sending commands too fast, you will be ignored for the next {time}.");
 });