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>
<packageSources>
<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>
</configuration>

View File

@ -26,6 +26,7 @@ namespace NadekoBot.Modules.Gambling
}
//flower reaction event
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)
@ -34,8 +35,6 @@ namespace NadekoBot.Modules.Gambling
.Select(x => (char)x)
.ToArray();
public static readonly ConcurrentHashSet<ulong> _sneakyGameAwardedUsers = new ConcurrentHashSet<ulong>();
private static string _secretCode = String.Empty;
[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"
Provider = "YouTube",
Uri = video.Uri,
Uri = await video.GetUriAsync().ConfigureAwait(false),
Query = link,
ProviderType = musicType,
});

View File

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