public async Task CreatePlaylistAsync(EduardoContext context, string playlistName) { if (string.IsNullOrWhiteSpace(playlistName)) { return; } CreatePlaylistResult result = await _playlistRepository.CreatePlaylistAsync((long)context.User.Id, playlistName); await context.Channel.SendMessageAsync(result switch { CreatePlaylistResult.PlaylistExists => "You have already created a playlist with this name", CreatePlaylistResult.MaxPlaylistsReached => "You have reached the maximum number of playlists (5)", _ => $"Playlist \"{playlistName}\" created successfully!" });