im running a discord.js v12 bot and when i try to run it
this error pops up

```
      client.user.setActivity(newActivity);
                  ^

TypeError: Cannot read properties of null (reading 'setActivity')
    at Timeout._onTimeout (C:\Users\Alexu\Desktop\cookie checker\events\ready.js:19:19)
    at listOnTimeout (node:internal/timers:568:17)
    at processTimers (node:internal/timers:510:7)

```