Skip to content
Advertisement

Discord.js ‘presenceUpdate’ not being called

I have a “Special User” which is equal to ‘Client.users.fetch(Special User’s ID)’. Then the user has two event listeners attached to the it, ‘message’ and ‘presenceUpdate’, The message event listener works perfects, although the presenceUpdate does not work at all, All help is greatly appreciated!

JavaScript

Advertisement

Answer

If the presenceUpdate event doesn’t trigger, chances are you’ll need to add the GUILD_PRESENCES intent either using the client options:

JavaScript

In your Discord dashboard; by choosing your bot then by clicking on the Bot settings:

enter image description here

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement