private async void RespondToPing(TwitchMessage message) { var match = PingRegex.Match(message.RawMessage); if (match.Success) { await WriteToSystemAsync($"PONG {match.NextMatch()}"); } }
public OnMessageReceivedEventArgs(TwitchMessage message, TwitchBot bot) { Message = message; Bot = bot; }