Skip to content

Commit

Permalink
fix ready message
Browse files Browse the repository at this point in the history
  • Loading branch information
tignear committed Aug 9, 2021
1 parent 61b5aaf commit 89c89cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ping-pong/javascript/discord.js-v12/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`
);
Expand Down
2 changes: 1 addition & 1 deletion ping-pong/typescript/discord.js-v12/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`
);
Expand Down

0 comments on commit 89c89cf

Please sign in to comment.