new(whatsapp.gblib): General Bots WhatsApp provider.
This commit is contained in:
parent
6aa86a17c2
commit
e3eeaf1e57
2 changed files with 2 additions and 1 deletions
|
@ -384,7 +384,7 @@ export class SystemKeywords {
|
|||
public async getRandomId() {
|
||||
|
||||
const idGeneration = this.dk['idGeneration'];
|
||||
if (idGeneration.toLowerCase() === 'number')
|
||||
if (idGeneration && idGeneration.trim().toLowerCase() === 'number')
|
||||
{
|
||||
return GBAdminService.getNumberIdentifier();
|
||||
}
|
||||
|
|
|
@ -44,6 +44,7 @@ import { SecService } from '../../security.gbapp/services/SecService';
|
|||
import { Messages } from '../strings';
|
||||
import { GuaribasUser } from '../../security.gbapp/models';
|
||||
import { DialogKeywords } from '../../basic.gblib/services/DialogKeywords';
|
||||
import { GBAdminService } from '../../admin.gbapp/services/GBAdminService';
|
||||
const { MessageMedia, Client, LocalAuth } = require('whatsapp-web.js');
|
||||
const qrcode = require('qrcode-terminal');
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue