reduced per user cooldown to 1 second

This commit is contained in:
Kwoth 2016-07-21 01:51:47 +02:00
parent ae6deee1db
commit c06047b67c

View File

@ -26,8 +26,8 @@ namespace NadekoBot.Modules.Permissions.Classes
{
while (true)
{
//blacklist is cleared every 1.75 seconds. That is the most time anyone will be blocked
await Task.Delay(1750).ConfigureAwait(false);
//blacklist is cleared every 1.00 seconds. That is the most time anyone will be blocked
await Task.Delay(1000).ConfigureAwait(false);
timeBlackList.Clear();
}
});