From b570234f6842f95b6f3c9d32db69ad269654d4be Mon Sep 17 00:00:00 2001 From: Kwoth Date: Tue, 27 Dec 2016 01:39:13 +0100 Subject: [PATCH] fixed build --- src/NadekoBot/Modules/Music/Classes/Song.cs | 3 ++- src/NadekoBot/Modules/Music/Music.cs | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/NadekoBot/Modules/Music/Classes/Song.cs b/src/NadekoBot/Modules/Music/Classes/Song.cs index b6b860e9..0e52f74b 100644 --- a/src/NadekoBot/Modules/Music/Classes/Song.cs +++ b/src/NadekoBot/Modules/Music/Classes/Song.cs @@ -80,8 +80,9 @@ namespace NadekoBot.Modules.Music.Classes return $"https://cdn.discordapp.com/attachments/155726317222887425/261850914783100928/1482522077_music.png"; //test links case MusicType.Soundcloud: return SongInfo.AlbumArt; + default: + return ""; } - return ""; } } diff --git a/src/NadekoBot/Modules/Music/Music.cs b/src/NadekoBot/Modules/Music/Music.cs index f856c4f3..5262bdd1 100644 --- a/src/NadekoBot/Modules/Music/Music.cs +++ b/src/NadekoBot/Modules/Music/Music.cs @@ -239,8 +239,7 @@ namespace NadekoBot.Modules.Music .WithDescription(currentSong.PrettyFullTime) .WithFooter(ef => ef.WithText($"{currentSong.PrettyProvider} | {currentSong.QueuerName}")) .WithOkColor() - .WithThumbnail(tn => tn.Url = currentSong.Thumbnail) - .WithUrl(currentSong.SongUrl); + .WithThumbnail(tn => tn.Url = currentSong.Thumbnail); await channel.EmbedAsync(embed.Build()).ConfigureAwait(false); }