new(all): Custom Domain support per bot.

This commit is contained in:
rodrigorodriguez 2022-10-09 23:31:37 -03:00
parent 8dbcb4ef27
commit 4cc95e8dbe
3 changed files with 4 additions and 4 deletions

View file

@ -124,7 +124,7 @@ export class ScheduleServices extends GBService {
private ScheduleItem(item: GuaribasSchedule, min: GBMinInstance) {
GBLog.info(`Scheduling ${item.name} on ${min.botId}...`);
GBLog.info(`\nScheduling ${item.name} on ${min.botId}...`);
try {
const options = {
scheduled: true,

View file

@ -172,7 +172,7 @@ export class GBMinService {
// Calls mountBot event to all bots.
const bar1 = new cliProgress.SingleBar({
format: '[{bar}] Loading {botId} ({value}/{total})... .\n', barsize:60
format: '[{bar}] Loading {botId} ({value}/{total})...', barsize:60
}, cliProgress.Presets.rect);
let i = 0;
bar1.start(100, i, {botId: "Boot"});

View file

@ -202,7 +202,7 @@ export class WhatsappDirectLine extends GBService {
client.on('authenticated', async () => {
this.browserWSEndpoint = client.pupBrowser.wsEndpoint();
GBLog.info(`GBWhatsApp: QR Code authenticated for ${this.botId}.`);
GBLog.info(`\nGBWhatsApp: QR Code authenticated for ${this.botId}.`);
});
client.on('ready', async () => {
@ -212,7 +212,7 @@ export class WhatsappDirectLine extends GBService {
await (createClient.bind(this))(null);
}).bind(this));
GBLog.info(`GBWhatsApp: Emptying chat list for ${this.botId}...`);
GBLog.info(`\nGBWhatsApp: Emptying chat list for ${this.botId}...`);
// Keeps the chat list cleaned.