diff --git a/ping-pong/javascript/discord.js-v12/src/index.js b/ping-pong/javascript/discord.js-v12/src/index.js index c0c21fc..ec8b201 100644 --- a/ping-pong/javascript/discord.js-v12/src/index.js +++ b/ping-pong/javascript/discord.js-v12/src/index.js @@ -30,7 +30,7 @@ client.on("message", (message) => { }); client.once("ready", () => { const clientUser = client.user; - console.log(`Logged in as: ${clientUser.tag}#${clientUser.tag}`); + console.log(`Logged in as: ${clientUser.tag}`); console.log( `Invite Link: https://discord.com/api/oauth2/authorize?client_id=${clientUser.id}&permissions=${permissions.bitfield}&scope=bot` ); diff --git a/ping-pong/typescript/discord.js-v12/src/index.ts b/ping-pong/typescript/discord.js-v12/src/index.ts index eb23672..cf0d589 100644 --- a/ping-pong/typescript/discord.js-v12/src/index.ts +++ b/ping-pong/typescript/discord.js-v12/src/index.ts @@ -32,7 +32,7 @@ client.once("ready", () => { // Client#userがnullになるのはready以前のみに限られるため // eslint-disable-next-line @typescript-eslint/no-non-null-assertion const clientUser = client.user!; - console.log(`Logged in as: ${clientUser.tag}#${clientUser.tag}`); + console.log(`Logged in as: ${clientUser.tag}`); console.log( `Invite Link: https://discord.com/api/oauth2/authorize?client_id=${clientUser.id}&permissions=${permissions.bitfield}&scope=bot` );