From 76f2c011676ad0c53d1a37c18f9bda1cc9d52225 Mon Sep 17 00:00:00 2001 From: Mogyuchi Date: Sat, 10 Jun 2023 09:07:54 +0900 Subject: [PATCH] Refactor: ready log (#577) --- src/index.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/index.ts b/src/index.ts index ca3f7dfa..448add6b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -43,9 +43,7 @@ client.on('ready', () => { console.log( ` - ${guild.name} (${guild.memberCount}) Owner: ${await guild .fetchOwner() - .then( - (owner) => `${owner.user.username}#${owner.user.discriminator}`, - )}`, + .then((owner) => owner.user.tag)}`, ) }) workerClientMap = new WorkerClientMap(process.env.WORKER_TOKENS, client)