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

New handlers: regex/groupLinker, unmatched

This commit is contained in:
GingerPlusPlus
2018-01-30 14:38:50 +01:00
parent 38e1559804
commit 83a61353e5
6 changed files with 55 additions and 1 deletions

View File

@@ -11,6 +11,7 @@ const bot = require('./bot');
bot.telegram.getMe().then((botInfo) => {
bot.options.username = botInfo.username;
bot.context.botInfo = botInfo;
});
bot.use(
@@ -18,6 +19,8 @@ bot.use(
require('./handlers/messages'),
require('./plugins'),
require('./handlers/commands'),
require('./handlers/regex'),
require('./handlers/unmatched'),
);