Pick/plant back, not downloading users on public bot
This commit is contained in:
		@@ -105,7 +105,7 @@ namespace NadekoBot.Modules.Games
 | 
			
		||||
                }
 | 
			
		||||
                catch { }
 | 
			
		||||
            }
 | 
			
		||||
#if !GLOBAL_NADEKO
 | 
			
		||||
 | 
			
		||||
            [NadekoCommand, Usage, Description, Aliases]
 | 
			
		||||
            [RequireContext(ContextType.Guild)]
 | 
			
		||||
            public async Task Pick()
 | 
			
		||||
@@ -168,7 +168,6 @@ namespace NadekoBot.Modules.Games
 | 
			
		||||
                }
 | 
			
		||||
                plantedFlowers.AddOrUpdate(Context.Channel.Id, new List<IUserMessage>() { msg }, (id, old) => { old.Add(msg); return old; });
 | 
			
		||||
            }
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
            [NadekoCommand, Usage, Description, Aliases]
 | 
			
		||||
            [RequireContext(ContextType.Guild)]
 | 
			
		||||
 
 | 
			
		||||
@@ -91,7 +91,9 @@ namespace NadekoBot
 | 
			
		||||
            //connect
 | 
			
		||||
            await Client.LoginAsync(TokenType.Bot, Credentials.Token).ConfigureAwait(false);
 | 
			
		||||
            await Client.ConnectAsync().ConfigureAwait(false);
 | 
			
		||||
#if !GLOBAL_NADEKO
 | 
			
		||||
            await Client.DownloadAllUsersAsync().ConfigureAwait(false);
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
            _log.Info("Connected");
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user