Configuring Discord
Last updated
Last updated
🔐 Login
Head on over to the Discord Dev Portal and create a new application.
Give it a name and create it under Personal (or a team it doesn't really matter).
Set your app's name and icon, this is what users will see on the login screen. Set a TOS and Privacy Policy URL if your host has them, these will also be shown at login.
Next go to OAuth2, then add a Redirect. This redirect should be the URL to your client (the public one, set as oauth2.link
) with /callback
.
Example:
Next copy your Client ID
and Client Secret
.
Configure everything in config.json
now:
This method works with Discord which checks if an user has joined a server listed in settings.json
"name"
: Name of the server listed in J4R. It can be the name you want not neccessary the server's name
"invite"
: Here goes the Discord invitation to the server to add to J4R. Make sure you create a permanent invite
"id"
: The server id you want to add here
"coins"
: Number of coins that users will get once they join to the server
You can create as many J4Rs as you want. By default, we add two slots but you can add infinite slots