Merge branch 'wip' of https://github.com/kwoth/nadekobot into wip
This commit is contained in:
		@@ -164,11 +164,8 @@ namespace NadekoBot.Modules.Gambling
 | 
			
		||||
                        int.TryParse(match.Groups["n2"].ToString(), out int n2) &&
 | 
			
		||||
                        n1 <= 50 && n2 <= 100000 && n1 > 0 && n2 > 0)
 | 
			
		||||
                    {
 | 
			
		||||
                        if (!int.TryParse(match.Groups["add"].Value, out int add) ||
 | 
			
		||||
                           !int.TryParse(match.Groups["sub"].Value, out int sub))
 | 
			
		||||
                        {
 | 
			
		||||
                            return;
 | 
			
		||||
                        }
 | 
			
		||||
                        int.TryParse(match.Groups["add"].Value, out int add);
 | 
			
		||||
                        int.TryParse(match.Groups["sub"].Value, out int sub);
 | 
			
		||||
 | 
			
		||||
                        var arr = new int[n1];
 | 
			
		||||
                        for (int i = 0; i < n1; i++)
 | 
			
		||||
 
 | 
			
		||||
@@ -91,7 +91,7 @@ namespace NadekoBot.Modules.Games
 | 
			
		||||
 | 
			
		||||
                    using (var toSend = imgData.ToStream())
 | 
			
		||||
                    {
 | 
			
		||||
                        msg = await Context.Channel.SendFileAsync(toSend, "plant.png", msgToSend, options: new RequestOptions()
 | 
			
		||||
                        msg = await Context.Channel.SendFileAsync(toSend, "plant.gif", msgToSend, options: new RequestOptions()
 | 
			
		||||
                        {
 | 
			
		||||
                            RetryMode = RetryMode.AlwaysRetry
 | 
			
		||||
                        }).ConfigureAwait(false);
 | 
			
		||||
 
 | 
			
		||||
@@ -200,7 +200,7 @@ namespace NadekoBot.Modules.Games.Services
 | 
			
		||||
                            {
 | 
			
		||||
                                var sent = await channel.SendFileAsync(
 | 
			
		||||
                                    fileStream,
 | 
			
		||||
                                    "drop.png",
 | 
			
		||||
                                    "drop.gif",
 | 
			
		||||
                                    toSend).ConfigureAwait(false);
 | 
			
		||||
 | 
			
		||||
                                msgs[0] = sent;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user