#Is an event emitted when the server's custom invite link is added/removed/changed?

11 messages · Page 1 of 1 (latest)

tulip kiln
#

• What's your exact discord.js npm list discord.js and node node -v version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.

fiery stag
#

.

somber hare
# fiery stag .

This isn't correct. The vanity URL is on the guild object. The guildUpdate event needs to be listened to

fiery stag
somber hare
#

It's alright

past mango
#

@somber hare, thanks for the direction!

Taking a look at Audit Log events, and it doesn't seem there is one for the custom invite link. Might need to make a request to get it's value.

#

Ah never mind - .fetchVanityData()

somber hare
past mango
#

@somber hare, appreciate the heads up! Was planning on updating shortly, will use this info when I'm on v14.

somber hare
#

Version 14 doesn't have the audit log entry create event yet (': But the latest version of v13 does