Questo sito utilizza cookies solo per scopi di autenticazione sul sito e nient'altro. Nessuna informazione personale viene tracciata. Leggi l'informativa sui cookies.
Username: Password: oppure
IRC-BotEngine - Program.cs

Program.cs

Caricato da: Crybot
Scarica il programma completo

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Collections;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading;
  7. using System.Timers;
  8. using System.Numerics;
  9.  
  10. namespace IrcBot
  11. {
  12.     class IrcBot
  13.     {
  14.         public static void Main()
  15.         {
  16.             BotEngine botEngine = new BotEngine();
  17.  
  18.             botEngine.AddCommand(new Kick("!kick", false, 10));
  19.             botEngine.AddCommand(new PingAll("!pingall", false, 5));
  20.             botEngine.AddCommand(new AntiFlood("!antiflood", false, 10));
  21.             botEngine.AddCommand(new CountUsers("!countusers", false, 1));
  22.             botEngine.AddCommand(new Factorial("!factorial", false, 15));
  23.             botEngine.AddCommand(new Cleverbot("!cleverbot", false, 5));
  24.             botEngine.AddCommand(new Disconnect("!disconnect", false, 10));
  25.             botEngine.AddCommand(new SetPermission("!setpermission", true, 10));
  26.             botEngine.AddCommand(new JoinChannel("!join", false, 10));
  27.             botEngine.AddCommand(new CreatFolder("!newfolder", false, 10));
  28.             botEngine.AddCommand(new CreateFile("!newfile", false, 10));
  29.             botEngine.AddCommand(new ListCommands("!listcommands", false, 5));
  30.             botEngine.AddCommand(new Statistic("!statistic", false, 10));
  31.  
  32.             botEngine.StartConnection();
  33.         }
  34.     }
  35. }