public void DoThis()
 {
     while (isRunning)
     {
         try
         {
             if (bot == null)
             {
                 bot = new ClasherDynBot();
             }
             Thread.Sleep(5);
         }
         catch (Exception ex)
         {
             throw ex;
         }
     }
 }
Esempio n. 2
0
 public void DoThis()
 {
     while (isRunning)
     {
         try
         {
             if (bot == null)
             {
                 bot = new ClasherDynBot();
             }
             Thread.Sleep(5);
         }
         catch (Exception ex)
         {
             logger.LogWrite(DateTime.Now + " - " + ex.Message + " --- " + ex);
         }
     }
 }