Error Encountered: Bot Client Intents Are Missing in Discord

I’m in the process of setting up my Discord bot and have reached the final stages, but I’m encountering this error message. Everything was progressing well, and suddenly I received the following issue:

/Users/mista/node_modules/discord.js/src/client/Client.js:544
      throw new TypeError('CLIENT_MISSING_INTENTS');
      ^

TypeError [CLIENT_MISSING_INTENTS]: Required intents are not provided for the Client.
    at Client._checkOptions (/Users/mista/node_modules/discord.js/src/client/Client.js:544:13)
    at new Client (/Users/mista/node_modules/discord.js/src/client/Client.js:73:10)
    at Object.<anonymous> (/Users/mista/Downloads/SMSBotBypass/bots/discord/bot.js:5:16)
    ...

I am trying to configure the bot referenced in the link provided.

Hey! Looks like the Intent options are missing for your bot setup. Make sure you are using Intents in the client configuration:

const { Client, GatewayIntentBits } = require('discord.js');
const client = new Client({ intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMessages] });

Check ur permissions on Discord dev portal too!