Cache after restart
Hello !
With the
guildDelete
event, I have created a message that is sent as soon as a server has removed the bot from it.
But at each restart of my bot (I made several test), a message is sent like if a guild removed my bot. Each time it is the same id of the guild, and no information is available (see screen)
I checked and the bot does not have this guild.
Would you have an idea of why I have that?7 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
The guild is unavailable because the
available
property is false so the event is emitted.Any solutions to avoid that ?
Not really
Okay thank you !
Maybe just don't send the message if the
<Guild>.available
properly is false.This happens on discord side so not really something you can fixYes you're right thanks 👍