diff --git a/index.js b/index.js index bcff18d..cfcd126 100644 --- a/index.js +++ b/index.js @@ -110,7 +110,7 @@ client.on('inviteCreate', (invite) => { //if someone creates an invite while bot name: "New Invite", // inline check, if expiry is in over 100 years, then it's never, otherwise it's the date // ${invite.expiresTimestamp > 95617584000 ? "Never" : `` - value: `Code: ${invite.code}\nMax Uses: ${invite.maxUses || "∞"}\nExpires \nCreated at: ` + value: `Code: ${invite.code}\nMax Uses: ${invite.maxUses || "∞"}\nExpires: ${invite.expiresAt <= 0 ? "Never" : ``}\nCreated at: ` }, { name: "Guild", @@ -158,7 +158,7 @@ client.on('guildMemberAdd', async (member) => { // We're just gonna always send }, { name: "Invite", - value: `Inviter: ${(invite.inviter.id == client.user.id) ? "Custom Invite URL (Through Bot)" : `${invite.inviter} (${invite.inviter.displayName})`}\nCode: ${invite.code}\nUses: ${invite.uses}/${invite.maxUses ||"∞"}\nExpires: \nCreated at: ` + value: `Inviter: ${(invite.inviter.id == client.user.id) ? "Custom Invite URL (Through Bot)" : `${invite.inviter} (${invite.inviter.displayName})`}\nCode: ${invite.code}\nUses: ${invite.uses}/${invite.maxUses ||"∞"}\nExpires: ${invite.expiresAt <= 0 ? "Never" : ``}\nCreated at: ` }, { name: "Guild",