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