public void Process(TwitchClient client, string username, string commandText, bool isMod) { string songRequestText = string.Empty; bool syntaxError = false; var success = playlistHelper.EditRequest(username, commandText, isMod, out songRequestText, out syntaxError); if (success) { client.SendMessage($"Hey @{username} I have successfully changed your request to: {songRequestText}"); } else { client.SendMessage( syntaxError ? $"Hey @{username} command usage: !err <SongNumber> <NewSongRequest>" : $"Hey @{username} it doesn't look like that's your request"); } }