Ejemplo n.º 1
0
        public ApplicationHandler()
        {
            ircHandler = new IrcHandler();
            ircHandler.MessageReceived += Twitch_MessageReceived;
            ircHandler.MessageReceived += Twitch_CheckForCommands;

            discordHandler = new DiscordHandler();
            discordHandler.RunBotAsync().GetAwaiter().GetResult();
            discordHandler.client.MessageReceived += Discord_MessageReceived;

            form = new FrontForm();
            form.StartConnection += Form_StartConnection;
            form.ShowForm();
        }