|
using System;
using System.Collections.Generic;
using System.Collections;
using System.Linq;
using System.Text;
using System.Threading;
using System.Timers;
using System.Numerics;
namespace IrcBot
{
class IrcBot
{
public static void Main()
{
BotEngine botEngine = new BotEngine ();
botEngine. AddCommand(new Kick ("!kick", false, 10 ));
botEngine. AddCommand(new PingAll ("!pingall", false, 5 ));
botEngine. AddCommand(new AntiFlood ("!antiflood", false, 10 ));
botEngine. AddCommand(new CountUsers ("!countusers", false, 1 ));
botEngine. AddCommand(new Factorial ("!factorial", false, 15 ));
botEngine. AddCommand(new Cleverbot ("!cleverbot", false, 5 ));
botEngine. AddCommand(new Disconnect ("!disconnect", false, 10 ));
botEngine. AddCommand(new SetPermission ("!setpermission", true, 10 ));
botEngine. AddCommand(new JoinChannel ("!join", false, 10 ));
botEngine. AddCommand(new CreatFolder ("!newfolder", false, 10 ));
botEngine. AddCommand(new CreateFile ("!newfile", false, 10 ));
botEngine. AddCommand(new ListCommands ("!listcommands", false, 5 ));
botEngine. AddCommand(new Statistic ("!statistic", false, 10 ));
botEngine.StartConnection();
}
}
}
|
|