Lista Amici
Richieste di Fiducia Accettati Rifiutati
This commit is contained in:
@@ -227,7 +227,7 @@ async function mystart() {
|
||||
|
||||
|
||||
// tools.sendNotifToAdmin('Riparti', 'Riparti');
|
||||
// sendemail.testemail('2', 'it');
|
||||
|
||||
|
||||
let miapass = '';
|
||||
|
||||
@@ -378,16 +378,12 @@ async function inizia() {
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
await telegrambot.sendMsgTelegram(tools.FREEPLANET, telegrambot.ADMIN_USER_SERVER, `Ciao ${telegrambot.ADMIN_USER_NAME_SERVER}!`);
|
||||
|
||||
await telegrambot.sendMsgTelegramByIdTelegram(tools.FREEPLANET, telegrambot.ADMIN_IDTELEGRAM_SERVER, `Ciao ${telegrambot.ADMIN_USER_NAME_SERVER}\n` + `🔅 Il Server ${process.env.DATABASE} è appena ripartito!`);
|
||||
|
||||
} else {
|
||||
|
||||
// if (process.env.NODE_ENV === 'production') {
|
||||
await telegrambot.sendMsgTelegram(tools.CNM, telegrambot.ADMIN_USER_SERVER, `Ciao ${telegrambot.ADMIN_USER_NAME_SERVER}!`);
|
||||
await telegrambot.sendMsgTelegramByIdTelegram(tools.CNM, telegrambot.ADMIN_IDTELEGRAM_SERVER, `Il Server ${process.env.DATABASE} è appena ripartito!`);
|
||||
|
||||
// await telegrambot.sendMsgTelegramByIdTelegram('2', telegrambot.ADMIN_IDTELEGRAM_SERVER, `Il Server ${process.env.DATABASE} è appena ripartito!`);
|
||||
|
||||
testo = 'Ciao Paolo!';
|
||||
myid = await telegrambot.sendMsgTelegramByIdTelegram(tools.CNM, telegrambot.ADMIN_IDTELEGRAM_SERVER, testo);
|
||||
// await telegrambot.sendMsgTelegram(tools.FREEPLANET, telegrambot.ADMIN_USER_SERVER, `Ciao ${telegrambot.ADMIN_USER_NAME_SERVER}!`);
|
||||
await telegrambot.sendMsgTelegramByIdTelegram(tools.FREEPLANET, telegrambot.ADMIN_IDTELEGRAM_SERVER, `Ciao ${telegrambot.ADMIN_USER_NAME_SERVER}\n` + `🔅 Il Server ${process.env.DATABASE} è appena ripartito!`);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -409,7 +405,7 @@ async function inizia() {
|
||||
// }
|
||||
|
||||
async function faitest() {
|
||||
console.log('Fai Test:')
|
||||
// console.log('Fai Test:')
|
||||
|
||||
const testfind = false;
|
||||
|
||||
@@ -424,6 +420,21 @@ async function faitest() {
|
||||
console.log('ris', ris);
|
||||
}
|
||||
|
||||
if (false) {
|
||||
// const {User} = require('./models/user');
|
||||
/*
|
||||
const user = await User.findOne({
|
||||
idapp: 12,
|
||||
username: 'paoloar77',
|
||||
});
|
||||
|
||||
await sendemail.sendEmail_Registration('it', 'paolo@freeplanet.app', user,
|
||||
'12', '');
|
||||
|
||||
*/
|
||||
|
||||
}
|
||||
|
||||
if (false) {
|
||||
|
||||
const { User } = require('./models/user');
|
||||
|
||||
Reference in New Issue
Block a user