public override sealed void StartupListener()
 {
     IrcCommand = IrcCommand ?? new IrcCommand(client);
     client.RegisterCommand("irc", IrcCommand);
     client.Self.ChatFromSimulator += IrcBot_OnChat;
     client.Self.IM += IrcBot_IM;
 }
Example #2
0
 public override sealed void StartupListener()
 {
     IrcCommand = IrcCommand ?? new IrcCommand(client);
     client.RegisterCommand("irc", IrcCommand);
     client.Self.ChatFromSimulator += IrcBot_OnChat;
     client.Self.IM += IrcBot_IM;
 }
Example #3
0
 public IrcBotModule(BotClient parent)
     : base(parent)
 {
     IrcCommand = IrcCommand ?? new IrcCommand(client);
     if (client != null) client.RegisterCommand("irc", IrcCommand);
     //parent.Commands.Add();
 }
 public IrcBotModule(BotClient parent)
     : base(parent)
 {
     IrcCommand = IrcCommand ?? new IrcCommand(client);
     if (client != null)
     {
         client.RegisterCommand("irc", IrcCommand);
     }
     //parent.Commands.Add();
 }