mirror of
				https://gitlab.com/Kwoth/nadekobot.git
				synced 2025-11-04 00:34:26 -05:00 
			
		
		
		
	Merge branch 'v3' of https://gitlab.com/kwoth/nadekobot into v3
This commit is contained in:
		@@ -104,7 +104,8 @@ namespace NadekoBot.Modules.Games.Hangman
 | 
			
		||||
                    CurrentPhase = Phase.Ended;
 | 
			
		||||
                    return GetState(GuessResult.Win);
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
                
 | 
			
		||||
                _correct.Add(charGuess);
 | 
			
		||||
                return GetState(GuessResult.Guess);
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +1,4 @@
 | 
			
		||||
using Google;
 | 
			
		||||
using Google;
 | 
			
		||||
using Google.Apis.Customsearch.v1;
 | 
			
		||||
using Google.Apis.Services;
 | 
			
		||||
using Google.Apis.Urlshortener.v1;
 | 
			
		||||
@@ -220,6 +220,7 @@ namespace NadekoBot.Services
 | 
			
		||||
            req.Fields = "items(image(contextLink,thumbnailLink),link)";
 | 
			
		||||
            req.SearchType = CseResource.ListRequest.SearchTypeEnum.Image;
 | 
			
		||||
            req.Start = new NadekoRandom().Next(0, 20);
 | 
			
		||||
            req.Safe = CseResource.ListRequest.SafeEnum.Active;
 | 
			
		||||
 | 
			
		||||
            var search = await req.ExecuteAsync().ConfigureAwait(false);
 | 
			
		||||
 | 
			
		||||
@@ -388,4 +389,4 @@ namespace NadekoBot.Services
 | 
			
		||||
            return mode;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user