Fixed music errors?
This commit is contained in:
		@@ -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>
 | 
			
		||||
 
 | 
			
		||||
@@ -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]
 | 
			
		||||
 
 | 
			
		||||
@@ -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,
 | 
			
		||||
                });
 | 
			
		||||
 
 | 
			
		||||
@@ -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",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user