Create the application and the bot
In the Discord Developer Portal click New Application and give it a name. In the Bot tab click Reset Token and copy the token: the portal shows it only once.
Slash commands need no privileged intents. Do not enable Message Content, Server Members or Presence until the bot really reads message content or the member list.
Discord Developer Portal
- TokenBot > Reset Token
- The bot's password to the Discord gateway. Shown once.
- Privileged IntentsBot
- Members, presence, message content. This bot does not need them.