#Welcome message send twice
7 messages · Page 1 of 1 (latest)
Is your bot running twice? Or do you have two files with that guildMemberAdd handler in your events folder?
Add a console.log(client.listenerCount('guildMemberAdd')) at the beginning of that file‘s execute there please
No wait, client.client.listenerCount
Because what you call client there is actually a GuildMember
I tried this and even though the listener count is 1, every event fires twice
And there is no other instance of the bot running.
What makes you so sure there isn’t another instance running? Stop the one you use and see if the bot goes offline. If that doesn’t solve your issue add a console.log to the event and see if it logs twice