private void OnMessageReceived(MixerMessage message) { if (message.User == _config.Username && message.Content.StartsWith("[Discord]")) { return; } MessageReceived?.Invoke(this, new MessageReceivedEventArgs(message)); }
private void ChatMessageReceived(object sender, MixerMessage message) { OnMessageReceived(message); }