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