Enabling Intents
In order for your bot to work with Discord Bot Studio you will need to enable intents. To do so visit the following link: https://discord.com/developers/applications.

Visiting the link above will show you any bots you have created
Once there, click on the bot you are using. Next, select the "Bot" tab from the left hand side:

From there, scroll down to the "Privileged Gateway Intents" section, and enable both options:

Both intents should be enabled