示例#1
0
 public static void Join(string token, string invite)
 {
     try
     {
         if (new JoinBot(token, Proxies.GetRandomProxy()).JoinServer(invite) == false)
         {
             Join(token, invite);
         }
     }
     catch { Join(token, invite); }
 }
示例#2
0
 public static void Raid(string token, string channel_id, string message, int amt)
 {
     try
     {
         RaidBot bot = new RaidBot(token, Proxies.GetRandomProxy());
         for (int i = 1; i <= amt; i++)
         {
             bot.SendMessage(channel_id, message);
             Thread.Sleep(500);
         }
     }
     catch { Raid(token, channel_id, message, amt); }
 }