What is the event name for when vanity gets updated?
i tried looking into guildUpdate but it's not there
Solution:Jump to solution
You could fetch the audit log in the guildUpdateEvent
Or you could use the auditlog event...
25 Replies
This is a DiscordJS question, not a Sapphire question. It should be on
guildUpdate
. You're better off asking this in the DiscordJS server discord.gg/djsi'm banned from that server.
it's not in guildUpdate though
Maybe you should've behaved better then ![kekw](https://cdn.discordapp.com/emojis/834124742741983312.png)
![kekw](https://cdn.discordapp.com/emojis/834124742741983312.png)
ngl no
there is no other event that it can be on, refer to https://discord.js.org/docs/packages/discord.js/14.14.1/Client:Class
discord.js | Client
The main hub for interacting with the Discord API, and the starting point for any bot.
i got banned bceuse like uh
"political harassment in support"
yes
wait whast
political harrasment?
LOL
news flash, all the devs in this server are also staff or proficient (in my particular case) in DJS so we have access to mod logs
do they have the message log of me politcally harrrasing someone
shrug. Maybe. I couldn't be bothered to look it up though. Anyway lets get back to the topic.
i tried making it return both old and new guild but i think the newguild doesn't exist
yep, undefined
yeah that's wrong. There is no client as first parameter. Not sure what you're basing that on. The first parameter is the old guild and the second new guild. The match 1:1 with the DJS documentation: https://discord.js.org/docs/packages/discord.js/14.14.1/Client:Class#guildUpdate
discord.js | Client
The main hub for interacting with the Discord API, and the starting point for any bot.