Create a new discord application.
In the bot settings of your new application make sure to go under Priviledged Gateway Intents
and enable SERVER_MEMBERS_INTENT
and MESSAGE_CONTENT_INTENT
.
Make sure the bot has the following permissions:
- Manage Server
- Manage Roles
- Manage Channels
- Create Instant Invite
- Create Expressions
- Mention Everyone
Make sure that your bot is not public. To invite the bot to your server you can use the following link after replacing the placeholders:
https://discord.com/oauth2/authorize?client_id={appId}&permissions={permissions}&scope=b`
For the permissions use the permission calculator in the application bot settings.
You should ensure that the added role is below the bot's role in the Guild's roles settings.
Otherwise, this might cause permission errors even if you have given the MANAGE_ROLES
permission to the bot.
Look at the Nuxt 3 documentation to learn more.
Make sure to install the dependencies:
# npm
npm install
# pnpm
pnpm install
# yarn
yarn install
Start the development server on http://localhost:3000
:
# npm
npm run dev
# pnpm
pnpm run dev
# yarn
yarn dev
Build the application for production:
# npm
npm run build
# pnpm
pnpm run build
# yarn
yarn build
Locally preview production build:
# npm
npm run preview
# pnpm
pnpm run preview
# yarn
yarn preview
Check out the deployment documentation for more information.