reduced per user cooldown to 1 second
This commit is contained in:
parent
ae6deee1db
commit
c06047b67c
@ -26,8 +26,8 @@ namespace NadekoBot.Modules.Permissions.Classes
|
|||||||
{
|
{
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
//blacklist is cleared every 1.75 seconds. That is the most time anyone will be blocked
|
//blacklist is cleared every 1.00 seconds. That is the most time anyone will be blocked
|
||||||
await Task.Delay(1750).ConfigureAwait(false);
|
await Task.Delay(1000).ConfigureAwait(false);
|
||||||
timeBlackList.Clear();
|
timeBlackList.Clear();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user