Fixed music errors?

This commit is contained in:
Kwoth 2017-01-31 20:11:42 +01:00
parent fab46bc3f2
commit 28566023c2
4 changed files with 4 additions and 4 deletions

View File

@ -2,5 +2,6 @@
<configuration> <configuration>
<packageSources> <packageSources>
<add key="ImageSharp" value="https://www.myget.org/F/imagesharp/api/v3/index.json" /> <add key="ImageSharp" value="https://www.myget.org/F/imagesharp/api/v3/index.json" />
<add key="Kwoth" value="https://www.myget.org/F/kwoth/api/v3/index.json" />
</packageSources> </packageSources>
</configuration> </configuration>

View File

@ -26,6 +26,7 @@ namespace NadekoBot.Modules.Gambling
} }
//flower reaction event //flower reaction event
public static readonly ConcurrentHashSet<ulong> _flowerReactionAwardedUsers = new ConcurrentHashSet<ulong>(); public static readonly ConcurrentHashSet<ulong> _flowerReactionAwardedUsers = new ConcurrentHashSet<ulong>();
public static readonly ConcurrentHashSet<ulong> _sneakyGameAwardedUsers = new ConcurrentHashSet<ulong>();
private static readonly char[] _sneakyGameStatusChars = Enumerable.Range(48, 10) private static readonly char[] _sneakyGameStatusChars = Enumerable.Range(48, 10)
@ -34,8 +35,6 @@ namespace NadekoBot.Modules.Gambling
.Select(x => (char)x) .Select(x => (char)x)
.ToArray(); .ToArray();
public static readonly ConcurrentHashSet<ulong> _sneakyGameAwardedUsers = new ConcurrentHashSet<ulong>();
private static string _secretCode = String.Empty; private static string _secretCode = String.Empty;
[NadekoCommand, Usage, Description, Aliases] [NadekoCommand, Usage, Description, Aliases]

View File

@ -97,7 +97,7 @@ namespace NadekoBot.Modules.Music.Classes
{ {
Title = video.Title.Substring(0, video.Title.Length - 10), // removing trailing "- You Tube" Title = video.Title.Substring(0, video.Title.Length - 10), // removing trailing "- You Tube"
Provider = "YouTube", Provider = "YouTube",
Uri = video.Uri, Uri = await video.GetUriAsync().ConfigureAwait(false),
Query = link, Query = link,
ProviderType = musicType, ProviderType = musicType,
}); });

View File

@ -18,7 +18,7 @@
}, },
"dependencies": { "dependencies": {
"AngleSharp": "0.9.9", "AngleSharp": "0.9.9",
"VideoLibrary": "1.3.4", "libvideo": "1.0.0",
"CoreCLR-NCalc": "2.1.2", "CoreCLR-NCalc": "2.1.2",
"Google.Apis.Urlshortener.v1": "1.19.0.138", "Google.Apis.Urlshortener.v1": "1.19.0.138",
"Google.Apis.YouTube.v3": "1.20.0.701", "Google.Apis.YouTube.v3": "1.20.0.701",