Bot presence not updating

code:
                client.user?.setPresence({
            status,
            activities: [
                {
                    name: client.config.botPresence.activity.replacer({ totalPlayers, totalMaxPlayers, totalServers }),
                    type,
                },
            ],
        });
        console.log(client.user?.presence);

console:
ClientPresence {
  userId: null,
  guild: null,
  status: 'Online',
  activities: [
    Activity {
      name: '0 players on 2 servers',
      type: 'Watching',
      url: null,
      details: null,
      state: null,
      applicationId: null,
      timestamps: null,
      party: null,
      assets: null,
      flags: [ActivityFlagsBitField],
      emoji: null,
      buttons: [],
      createdTimestamp: undefined
    }
  ],
  clientStatus: null
}

For some reason my bot does not have any status or custom presence. anyone know why?
Was this page helpful?