antibot
antibot copied to clipboard
Reduce Confirmation Time
Hi!
Is it possible to reduce the confirmation time to something less than 24h?
Thanks!
I realize that I am reviving a dead thread and probably no one will answer, however this topic is certainly relevant, and perhaps someone will fork this project and will want to look into this.
From what I can see initially (I have not yet looked at the code itself), I do not see a way to reduce the confirmation time to below 24 hours, only lengthen it beyond (via the [customBanDelay] property).
I'll update after I look at the code.
Update: It looks like the time value in https://github.com/ejnshtein/antibot/blob/master/core/database/mongodb/index.js (currently 86400000, since 86400000ms is 24h) would need to be changed to reduce the time to below 24 hours (or change to whatever value is wanted).
@moriel5 don't need to, the bot is dead
@ejnshtein Ah, but someone else could host it.
I believe that one of the groups I am a member of hosts an instance of your bot.
But thank you for taking the time to answer. In any case, I found how to change the default time (before taking the custom delay into the equation), so I'll update my previous post with that.