예제 #1
0
        static void Main(string[] args)
        {
            var MOT = new Bots.MaskOfTruth("irc.chat.twitch.tv", 80, @"Data/config.json");

            MOT.SuperUsers.AddRange(new string[] { "bomb_mask" });

            MOT.Startup += () => {
                MOT.send("CAP REQ :twitch.tv/tags");
                MOT.send("CAP REQ :twitch.tv/commands");
                MOT.send("JOIN #bomb_mask");
            };

            MOT.start();
        }
예제 #2
0
 public DynamicPlugin(Bots.MaskOfTruth parent)
 {
     this.parent = parent;
     FindPlugins();
 }