We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 840e7a6 commit 138d997Copy full SHA for 138d997
events/guildMemberAdd.js
@@ -61,7 +61,7 @@ module.exports = class {
61
const fetchGuildInvitesStart = Date.now();
62
// Fetch the current invites of the guild
63
const guildInvites = await member.guild.fetchInvites().catch(() => {});
64
- logMessage += `Fetch guild invites: ${Date.now()-fetchGuildInvitesStart}`;
+ logMessage += `Fetch guild invites: ${Date.now()-fetchGuildInvitesStart}ms\n`;
65
// Fetch the invites of the guild BEFORE that the member has joined
66
const oldGuildInvites = this.client.invitations[member.guild.id];
67
if (guildInvites && oldGuildInvites){
0 commit comments