$slot cooldown reduced to 2 seconds. .v+t roles now have no permissions
This commit is contained in:
		@@ -108,7 +108,7 @@ namespace NadekoBot.Modules.Administration
 | 
			
		||||
                                var roleName = GetRoleName(afterVch);
 | 
			
		||||
                                IRole roleToAdd = guild.Roles.FirstOrDefault(x => x.Name == roleName);
 | 
			
		||||
                                if (roleToAdd == null)
 | 
			
		||||
                                    roleToAdd = await guild.CreateRoleAsync(roleName).ConfigureAwait(false);
 | 
			
		||||
                                    roleToAdd = await guild.CreateRoleAsync(roleName, GuildPermissions.None).ConfigureAwait(false);
 | 
			
		||||
 | 
			
		||||
                                ITextChannel textChannel = guild.TextChannels
 | 
			
		||||
                                                            .Where(t => t.Name == GetChannelName(afterVch.Name).ToLowerInvariant())
 | 
			
		||||
 
 | 
			
		||||
@@ -262,7 +262,7 @@ namespace NadekoBot.Modules.Gambling
 | 
			
		||||
                {
 | 
			
		||||
                    var t = Task.Run(async () =>
 | 
			
		||||
                    {
 | 
			
		||||
                        await Task.Delay(3000);
 | 
			
		||||
                        await Task.Delay(2000);
 | 
			
		||||
                        runningUsers.Remove(Context.User.Id);
 | 
			
		||||
                    });
 | 
			
		||||
                }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user