コード例 #1
0
        public static void Restart()
        {
            bot.Disconnect();
            Thread.Sleep(2000);

            bot = new TwitchChatBot();
            //bot.RegisterFeaturesAsync();
            bot.Connect();
            WaitForInput();
        }
コード例 #2
0
        static void Main(string[] args)
        {
            Console.BackgroundColor = Color.FromArgb(51, 51, 51);
            Console.Title           = "DLC Bot";
            Console.Clear();

            Console.WriteLine("DLC Bot has started turning zeros into ones");
            bot = new TwitchChatBot();

            bot.Connect();
            Console.WriteLine("Enter 'help' to get all commands.", Color.White);

            WaitForInput();
        }