2
0
mirror of https://github.com/thedevs-network/the-guard-bot synced 2025-08-30 13:47:54 +00:00

@admins works with words after

This commit is contained in:
Pouria Ezzati
2017-10-08 11:40:42 +03:30
parent 92c701df82
commit d3b4248b10

View File

@@ -94,7 +94,7 @@ bot.command('getwarns', getWarnsHandler);
bot.command('ban', banHandler);
bot.command('unban', unbanHandler);
bot.command('report', reportHandler);
bot.hears(/^@admins?$/i, reportHandler);
bot.hears(/^@admins?\s?/i, reportHandler);
bot.command('staff', staffHandler);
bot.command('link', linkHandler);
bot.command('groups', groupsHandler);