2
0
mirror of https://github.com/thedevs-network/the-guard-bot synced 2025-08-31 14:15:25 +00:00

Added /staff command

This commit is contained in:
GingerPlusPlus
2017-09-24 18:05:16 +02:00
parent 7d52880b83
commit 178545e7b7
3 changed files with 32 additions and 1 deletions

View File

@@ -28,6 +28,7 @@ const getWarnsHandler = require('./handlers/commands/getwarns');
const banHandler = require('./handlers/commands/ban');
const unbanHandler = require('./handlers/commands/unban');
const reportHandler = require('./handlers/commands/report');
const staffHandler = require('./handlers/commands/staff');
bot.on('new_chat_members', addedToGroupHandler);
bot.use(leaveUnmanagedHandler);
@@ -45,5 +46,6 @@ bot.command('ban', banHandler);
bot.command('unban', unbanHandler);
bot.command('report', reportHandler);
bot.hears(/^@admins?$/i, reportHandler);
bot.command('staff', staffHandler);
bot.startPolling();