#Is an event emitted when the server's custom invite link is added/removed/changed?
11 messages · Page 1 of 1 (latest)
.
This isn't correct. The vanity URL is on the guild object. The guildUpdate event needs to be listened to
My bad. I missed the word "custom"
It's alright
Anyway @past mango, it's over here
https://discord.js.org/#/docs/discord.js/14.7.1/class/Client?scrollTo=e-guildUpdate
@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()
It is in the GUILD_UPDATE audit log entry event. Your version doesn't have this gateway event though—you should update
@somber hare, appreciate the heads up! Was planning on updating shortly, will use this info when I'm on v14.
Version 14 doesn't have the audit log entry create event yet (': But the latest version of v13 does