title: Im getting Type error code valid intents must be provided for the Client when coding a crypto bot from a tutorial
body: <p><strong>This is my bot.js file</strong></p>
  <pre><code>const { Client } = require('discord.js');
  
  const dotenv = require('dotenv');
  
  // Load environment variables
  dotenv.config();
  
  // Create a bot instance
  const bot = new Client();
  
  // Log our bot in
  bot.login(process.env.DISCORD_BOT_TOKEN);
  </code></pre>
  <p><strong>This is my .env file</strong></p>
  <pre><code>DISCORD_BOT_TOKEN = my discord bot token
  </code></pre>
  <p><strong>This is my .gitignore file</strong></p>
  <pre><code>node_modules/
  
  .env
  </code></pre>
  <p><strong>This is the error code</strong></p>
  <pre><code>C:\Users\aslat\OneDrive\Desktop\ScrtBot\crypto-discord-bot\node_modules\discord.js\src\client\Client.js:548
        throw new TypeError('CLIENT_MISSING_INTENTS');
        ^
  
  TypeError [CLIENT_MISSING_INTENTS]: Valid intents must be provided for the Client.
      at Client._validateOptions (C:\Users\aslat\OneDrive\Desktop\ScrtBot\crypto-discord-bot\node_modules\discord.js\src\client\Client.js:548:13)
      at Object.&lt;anonymous&gt; (C:\Users\aslat\OneDrive\Desktop\ScrtBot\crypto-discord-bot\bot.js:9:13)
      at Module._compile (node:internal/modules/cjs/loader:1103:14)
      at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
      at Module.load (node:internal/modules/cjs/loader:981:32)
      at Function.Module._load (node:internal/modules/cjs/loader:822:12)
      at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
      at node:internal/main/run_main_module:17:47 {
    [Symbol(code)]: 'CLIENT_MISSING_INTENTS'
  }
  </code></pre>