$slot cooldown reduced to 2 seconds. .v+t roles now have no permissions

This commit is contained in:
Kwoth 2017-02-05 09:09:18 +01:00
parent 22eb42ff8f
commit 871237af4e
2 changed files with 2 additions and 2 deletions

View File

@ -108,7 +108,7 @@ namespace NadekoBot.Modules.Administration
var roleName = GetRoleName(afterVch); var roleName = GetRoleName(afterVch);
IRole roleToAdd = guild.Roles.FirstOrDefault(x => x.Name == roleName); IRole roleToAdd = guild.Roles.FirstOrDefault(x => x.Name == roleName);
if (roleToAdd == null) if (roleToAdd == null)
roleToAdd = await guild.CreateRoleAsync(roleName).ConfigureAwait(false); roleToAdd = await guild.CreateRoleAsync(roleName, GuildPermissions.None).ConfigureAwait(false);
ITextChannel textChannel = guild.TextChannels ITextChannel textChannel = guild.TextChannels
.Where(t => t.Name == GetChannelName(afterVch.Name).ToLowerInvariant()) .Where(t => t.Name == GetChannelName(afterVch.Name).ToLowerInvariant())

View File

@ -262,7 +262,7 @@ namespace NadekoBot.Modules.Gambling
{ {
var t = Task.Run(async () => var t = Task.Run(async () =>
{ {
await Task.Delay(3000); await Task.Delay(2000);
runningUsers.Remove(Context.User.Id); runningUsers.Remove(Context.User.Id);
}); });
} }