MemberRemove call when I kick my bot
When I kick my bot of a server, I think that the event "MemberRemive" is called, and it makes a bug :
That's possible ? If yes how to fix it
thx
32 Replies
• 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.Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Yes, I saw it but why he looks the fetch audit logs on a server where he isn't
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
how he wan detect an event "MembeRemove", he is the remove member xD
yes
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
I did it
but the error comes before that event takes effect
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
The bot does ban, kick, ... logs
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Guild#available
Whether the guild is available to access. If it is not available, it indicates a server outage
I will try to do that
thx
mmmh, I puted before each access on fetching audit log
but it changes nothing
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
It depends but when the bot is kick, yes XD
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
there is a lot of files, what do you want to see
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
I start in JavaScript, I warn you it's surely not nice to see x)
wait
better like that
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
The name changes anything, or you tell me this for the sake of clarity
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
I thought to myself ahah
Yes, but how can I do the check with another way
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
It's only a theory, i dont know why when the bot is kick, he try to read fetchlog audit
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
It does not work with that
if anyone have an idea for this error :/
I can give read access to the github
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View