We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 72b857a + 380d6a4 commit 7bf7c96Copy full SHA for 7bf7c96
src/whatsapp/services/whatsapp.service.ts
@@ -1233,10 +1233,14 @@ export class WAStartupService {
1233
this.logger.verbose('Connection opened');
1234
this.instance.wuid = this.client.user.id.replace(/:\d+/, '');
1235
this.instance.profilePictureUrl = (await this.profilePicture(this.instance.wuid)).profilePictureUrl;
1236
+ const formattedWuid = this.instance.wuid.split('@')[0].padEnd(30, ' ');
1237
+ const formattedName = this.instance.name.split('@')[0].padEnd(30, ' ');
1238
this.logger.info(
1239
`
1240
┌──────────────────────────────┐
1241
│ CONNECTED TO WHATSAPP │
1242
+ │${formattedWuid}│
1243
+ │${formattedName}│
1244
└──────────────────────────────┘`.replace(/^ +/gm, ' '),
1245
);
1246
0 commit comments