pick no longer has cooldown on public bot
This commit is contained in:
		@@ -129,12 +129,6 @@ namespace NadekoBot.Modules.Games
 | 
			
		||||
 | 
			
		||||
                if (!(await channel.Guild.GetCurrentUserAsync()).GetPermissions(channel).ManageMessages)
 | 
			
		||||
                    return;
 | 
			
		||||
#if GLOBAL_NADEKO
 | 
			
		||||
                if (!usersRecentlyPicked.Add(Context.User.Id))
 | 
			
		||||
                    return;
 | 
			
		||||
#endif
 | 
			
		||||
                try
 | 
			
		||||
                {
 | 
			
		||||
 | 
			
		||||
                List<IUserMessage> msgs;
 | 
			
		||||
 | 
			
		||||
@@ -148,14 +142,6 @@ namespace NadekoBot.Modules.Games
 | 
			
		||||
                var msg = await channel.SendConfirmAsync($"**{Context.User}** picked {msgs.Count}{NadekoBot.BotConfig.CurrencySign}!").ConfigureAwait(false);
 | 
			
		||||
                msg.DeleteAfter(10);
 | 
			
		||||
            }
 | 
			
		||||
                finally
 | 
			
		||||
                {
 | 
			
		||||
#if GLOBAL_NADEKO
 | 
			
		||||
                    await Task.Delay(60000);
 | 
			
		||||
                    usersRecentlyPicked.TryRemove(Context.User.Id);
 | 
			
		||||
#endif
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            [NadekoCommand, Usage, Description, Aliases]
 | 
			
		||||
            [RequireContext(ContextType.Guild)]
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user