new discord.net dlls
This commit is contained in:
parent
ee6177103c
commit
2b20cac75d
@ -94,7 +94,8 @@ namespace NadekoBot.Modules {
|
||||
|
||||
if (video?.Uri != "" && video.Uri != null) {
|
||||
SongQueue.Add(video);
|
||||
await e.Send("**Queued** " + video.FullName);
|
||||
|
||||
await e.Send("**Queued** " + video.FullName+ video.Stream().Length);
|
||||
}
|
||||
});
|
||||
|
||||
@ -107,7 +108,7 @@ namespace NadekoBot.Modules {
|
||||
var video = youtube.GetAllVideos(Searches.FindYoutubeUrlByKeywords(e.Args[0]))
|
||||
.Where(v => v.AdaptiveKind == AdaptiveKind.Audio)
|
||||
.OrderByDescending(v => v.AudioBitrate).FirstOrDefault();
|
||||
|
||||
|
||||
if (video?.Uri != "" && video.Uri != null) {
|
||||
SongQueue.Add(video);
|
||||
await e.Send("**Queued** " + video.FullName);
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user