示例#1
0
 public ChanServ(IrcBot Bot)
 {
     this.Bot           = Bot;
     this.EnableOpCache = true;
     this.DeopTimer     = new Timer(DeopTimerFire, null, Timeout.Infinite, Timeout.Infinite);
 }
示例#2
0
文件: Program.cs 项目: t0phux/JeBot
 public void RegisterManagerCommand(string Command, IrcBot.CommandHandler CommandHandler)
 {
     ManagerCommands.Add(Command, CommandHandler);
     RegisterCommand(Command, HandleManagerCommand);
 }
示例#3
0
 public ChanServ(IrcBot Bot)
 {
     this.Bot = Bot;
     this.EnableOpCache = true;
     this.DeopTimer = new Timer(DeopTimerFire, null, Timeout.Infinite, Timeout.Infinite);
 }