- Bot Telegram ...
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
const tools = require('./tools/general');
|
||||
const telegrambot = require('./telegram/telegrambot');
|
||||
|
||||
require('./config/config');
|
||||
|
||||
@@ -171,6 +172,8 @@ module.exports = {
|
||||
// Send to the Admin an Email
|
||||
this.sendEmail_base('admin/registration/' + tools.LANGADMIN, tools.getAdminEmailByIdApp(idapp), mylocalsconf, '');
|
||||
|
||||
telegrambot.notifyToTelegram(telegrambot.phase.REGISTRATION, mylocalsconf);
|
||||
|
||||
if (tools.isManagAndAdminDifferent(idapp)) {
|
||||
this.sendEmail_base('admin/registration/' + tools.LANGADMIN, tools.getManagerEmailByIdApp(idapp), mylocalsconf, '');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user