- Mac, Windows or Linux system
- Discord Server
- Node.js installed (https://nodejs.org/en/)
- (Optional: Node.js Server)
- create a new app on https://discord.com/developers/applications
- click on Bot and then on "Add Bot" and copy the Client Secret to yourself
- activate the SCholder for MESSAGE CONTENT INTENT on the bot page
- click on 0Auth2 and select "bot" for OAuth2 URL Generator and "Administrator" for Permissions
- now open the link between the checkboxes
- you will be asked to add the bot to your Discord server
- copy this folder
- go back and copy the client secret from the bot page
- create an .env with DISCORD_BOT_TOKEN=%YOUR_CLIENT_SECRET% from the page
- create an .env with DISCORD_SERVER_ID=%YOUR_SERVER_ID% from the Discord server
- execute
npm install
- start the bot with
npm run start
.
Important: If you run this locally on your computer, the bot will only work as long as your computer is running. Alternatively, you must run this bot on an external server.