public void Ban(IUser bannedBy, ITimeSpan duration = null, IRichTextString reason = null)
 {
     BanHistory = new ExpiringAction(
         bannedBy,
         DateTime.Now.ToDateTime(),
         (DateTime.Now + (duration ?? TimeSpan.MaxValue.ToTimeSpan()).ToSystemTimeSpan()).ToDateTime(),
         reason ?? "No Reason.".AsRichTextString()
         );
 }
 public void Freeze(IUser frozenBy, ITimeSpan duration = null, IRichTextString reason = null)
 {
     FreezeHistory = new ExpiringAction(
         frozenBy,
         DateTime.Now.ToDateTime(),
         (DateTime.Now + (duration ?? TimeSpan.MaxValue.ToTimeSpan()).ToSystemTimeSpan()).ToDateTime(),
         reason ?? "No Reason.".AsRichTextString()
         );
 }