Exemplo n.º 1
0
        private void DiscordMessageReceived(object sender, Discord.MessageReceivedEventArgs args)
        {
            var message = args.Message;

            _log.LogInformation("[Discord] {Channel} <{User}> {Message}",
                                message.Channel,
                                message.User,
                                message.Content);
            _twitch.SendAsync($"[Discord] <{message.User}> {message.Content}");
            _mixer.SendAsync($"[Discord] <{message.User}> {message.Content}");
        }