new discord.net dlls

This commit is contained in:
Kwoth 2016-01-06 09:36:19 +01:00
parent ee6177103c
commit 2b20cac75d
5 changed files with 3 additions and 2 deletions

View File

@ -94,7 +94,8 @@ namespace NadekoBot.Modules {
if (video?.Uri != "" && video.Uri != null) { if (video?.Uri != "" && video.Uri != null) {
SongQueue.Add(video); 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])) var video = youtube.GetAllVideos(Searches.FindYoutubeUrlByKeywords(e.Args[0]))
.Where(v => v.AdaptiveKind == AdaptiveKind.Audio) .Where(v => v.AdaptiveKind == AdaptiveKind.Audio)
.OrderByDescending(v => v.AudioBitrate).FirstOrDefault(); .OrderByDescending(v => v.AudioBitrate).FirstOrDefault();
if (video?.Uri != "" && video.Uri != null) { if (video?.Uri != "" && video.Uri != null) {
SongQueue.Add(video); SongQueue.Add(video);
await e.Send("**Queued** " + video.FullName); await e.Send("**Queued** " + video.FullName);

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.