title: How to set my activity to how many servers my bot is in?
body: <p>So I am trying to set a activity for my bot, but it will only give me the error:</p>
  <pre><code>Cannot read properties of null (reading 'setActivity')
  </code></pre>
  <p>So how do I set that right in the config.json? (it needs to be in the index as well)</p>
  <p>Index.js:</p>
  <pre><code> client.user.setPresence({
      activities: [{
        name: presenceName,
        type: presenceType,
      }],
      status: presenceStatus,
    });
  
  })
  
  client.user.setActivity(`serving ${client.guilds.cache.size} servers`);
  </code></pre>
  <p>config.json</p>
  <pre><code>{
      &quot;prefix&quot;: &quot;.&quot;,
      &quot;presenceName&quot;: &quot;EVERYONE&quot;,
      &quot;presenceType&quot;: &quot;WATCHING&quot;,
      &quot;presenceStatus&quot;: &quot;ONLINE&quot;
  }
  </code></pre>