Ejemplo n.º 1
0
        public void Update(IdentificationFailedBannedMessage msg)
        {
            if (msg == null) throw new ArgumentNullException("msg");
            BanEndDate = msg.banEndDate.UnixTimestampToDateTime();
            Banned = true;

            logger.Warn("F*** I'm banned :( for {0}", BanEndDate - DateTime.Now);
        }
Ejemplo n.º 2
0
 public static void HandleIdentificationFailedBannedMessage(Bot bot, IdentificationFailedBannedMessage message)
 {
     bot.ClientInformations.Update(message);
 }
Ejemplo n.º 3
0
 public void Update(IdentificationFailedBannedMessage msg)
 {
     if (msg == null) throw new ArgumentNullException("msg");
     BanEndDate = msg.banEndDate.UnixTimestampToDateTime();
 }