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:
2
index.js
2
index.js
@@ -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);
|
||||
|
Reference in New Issue
Block a user