I've recently made a Discord bot using discord.js v12 and I haven't been able to set a presence for the bot.

This is the code:

```js
client.user.setPresence({ game: { name: '.help' }, status: 'online' });

```

And the error is: `TypeError: Cannot read property 'setPresence' of null`.