private void frmMain_Load(object sender, EventArgs e) { bot.Connect(); Console.ReadLine(); bot.Disconnect(); }
static void Main(string[] args) { TwitchChatBot bot = new TwitchChatBot(); bot.Connect(); Console.ReadLine(); bot.Disconnect(); }