mirror of
https://github.com/thedevs-network/the-guard-bot
synced 2025-08-29 13:17:56 +00:00
change delete message delay to 2 minutes
This commit is contained in:
parent
2e729d62b8
commit
0f42c9ee55
2
index.js
2
index.js
@ -43,7 +43,7 @@ bot.on('message', addUserHandler);
|
||||
bot.on('message', removeLinksHandler);
|
||||
bot.on('message', checkUsernameHandler);
|
||||
bot.on('new_chat_members', antibotHandler);
|
||||
bot.on([ 'new_chat_members', 'left_chat_member' ], deleteAfter(10 * 60 * 1000));
|
||||
bot.on([ 'new_chat_members', 'left_chat_member' ], deleteAfter(2 * 60 * 1000));
|
||||
bot.command('admin', adminHandler);
|
||||
bot.command('unadmin', unAdminHandler);
|
||||
bot.command('leave', leaveCommandHandler);
|
||||
|
Loading…
x
Reference in New Issue
Block a user