2
0
mirror of https://github.com/thedevs-network/the-guard-bot synced 2025-08-31 06:05:22 +00:00

added /link command

This commit is contained in:
Pouria Ezzati
2017-10-02 12:09:44 +03:30
parent 0f42c9ee55
commit 1f693bf3d0
4 changed files with 19 additions and 0 deletions

View File

@@ -32,6 +32,7 @@ const banHandler = require('./handlers/commands/ban');
const unbanHandler = require('./handlers/commands/unban');
const reportHandler = require('./handlers/commands/report');
const staffHandler = require('./handlers/commands/staff');
const linkHandler = require('./handlers/commands/link');
const groupsHandler = require('./handlers/commands/groups');
const commandReferenceHandler = require('./handlers/commands/commands');
const helpHandler = require('./handlers/commands/help');
@@ -56,6 +57,7 @@ bot.command('unban', unbanHandler);
bot.command('report', reportHandler);
bot.hears(/^@admins?$/i, reportHandler);
bot.command('staff', staffHandler);
bot.command('link', linkHandler);
bot.command('groups', groupsHandler);
bot.command('commands', commandReferenceHandler);
bot.command([ 'start', 'help' ], helpHandler);