Self hosting
Host Discordlinks yourself
Step by step guide
Github repo here
Add a .env
file at the root folder
Add a MONGO_DB_CONNEXION
environment variable for your MongoDB connection string.
it should look like:
You can create a free hosted MongoDB database with this tutorial
Add DISCORD_CLIENT_ID
, DISCORD_CLIENT_SECRET
, DISCORD_BOT_SECRET
environment variables.
it should look like:
You can create a new Discord app from the Discord developper portal
Configure your app on the Discord developper portal.
- PUBLIC BOT: Make your choice
- REQUIRES OAUTH2 CODE GRANT: Off
- PRESENCE INTENT: Off
- SERVER MEMBERS INTENT: On
- MESSAGE CONTENT INTENT: On
Your ready to start your bot with the yarn start
command from the root folder