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