From 191fff7087863b3528bd040ad99db930da88f1de Mon Sep 17 00:00:00 2001 From: Marc Dingena Date: Mon, 15 Apr 2024 14:19:52 +0800 Subject: [PATCH] Update logged messages --- src/Client/Client.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Client/Client.ts b/src/Client/Client.ts index d88b704..7fe38d1 100644 --- a/src/Client/Client.ts +++ b/src/Client/Client.ts @@ -71,8 +71,6 @@ export class Client extends TypedEmitter { verbosity: configuredLogVerbosity }); - this.logger.info('Configuring client.'); - /* Validate required configuration. */ if ('clientId' in config) { if ( @@ -181,7 +179,7 @@ export class Client extends TypedEmitter { } this.readyState = ReadyState.Starting; - this.logger.info(`[CLIENT] Initialising.`); + this.logger.info(`[CLIENT] Initialising...`); /* Configure access token and decoded token. */ const decodedToken = await this.refreshTokens(); @@ -421,7 +419,6 @@ export class Client extends TypedEmitter { */ private async addGroup(group: GroupInfo, member: GroupMemberInfo) { if (Object.keys(this.groups).map(Number).includes(group.id)) { - this.logger.error(`[CLIENT] Can't manage group ${group.id} (${group.name}) more than once.`); return; } @@ -480,7 +477,6 @@ export class Client extends TypedEmitter { const group = this.groups[groupId]; if (typeof group === 'undefined') { - this.logger.error(`[CLIENT] Can't remove an unmanaged group with ID ${groupId}.`); return; }