fixed build
This commit is contained in:
parent
67a6b69088
commit
b570234f68
@ -80,10 +80,11 @@ namespace NadekoBot.Modules.Music.Classes
|
|||||||
return $"https://cdn.discordapp.com/attachments/155726317222887425/261850914783100928/1482522077_music.png"; //test links
|
return $"https://cdn.discordapp.com/attachments/155726317222887425/261850914783100928/1482522077_music.png"; //test links
|
||||||
case MusicType.Soundcloud:
|
case MusicType.Soundcloud:
|
||||||
return SongInfo.AlbumArt;
|
return SongInfo.AlbumArt;
|
||||||
}
|
default:
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private string songUrl {
|
private string songUrl {
|
||||||
get {
|
get {
|
||||||
|
@ -239,8 +239,7 @@ namespace NadekoBot.Modules.Music
|
|||||||
.WithDescription(currentSong.PrettyFullTime)
|
.WithDescription(currentSong.PrettyFullTime)
|
||||||
.WithFooter(ef => ef.WithText($"{currentSong.PrettyProvider} | {currentSong.QueuerName}"))
|
.WithFooter(ef => ef.WithText($"{currentSong.PrettyProvider} | {currentSong.QueuerName}"))
|
||||||
.WithOkColor()
|
.WithOkColor()
|
||||||
.WithThumbnail(tn => tn.Url = currentSong.Thumbnail)
|
.WithThumbnail(tn => tn.Url = currentSong.Thumbnail);
|
||||||
.WithUrl(currentSong.SongUrl);
|
|
||||||
await channel.EmbedAsync(embed.Build()).ConfigureAwait(false);
|
await channel.EmbedAsync(embed.Build()).ConfigureAwait(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user