Skip to content

Commit 138d997

Browse files
committed
🐛 Add logs
1 parent 840e7a6 commit 138d997

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

events/guildMemberAdd.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ module.exports = class {
6161
const fetchGuildInvitesStart = Date.now();
6262
// Fetch the current invites of the guild
6363
const guildInvites = await member.guild.fetchInvites().catch(() => {});
64-
logMessage += `Fetch guild invites: ${Date.now()-fetchGuildInvitesStart}`;
64+
logMessage += `Fetch guild invites: ${Date.now()-fetchGuildInvitesStart}ms\n`;
6565
// Fetch the invites of the guild BEFORE that the member has joined
6666
const oldGuildInvites = this.client.invitations[member.guild.id];
6767
if (guildInvites && oldGuildInvites){

0 commit comments

Comments
 (0)