Client
Use your Discord client for your instance
In order to set your ENDPOINT follow these simple steps
-
Go to
%appdata%/yourdiscord_client
(Example:%appdata%/discordptb
) -
There is a file called
settings.json
. It should look like: (Contents can be different depending on your Discord's client settings
)
{
"IS_MAXIMIZED": true,
"IS_MINIMIZED": false,
"WINDOW_BOUNDS": {
"x": 335,
"y": 86,
"width": 940,
"height": 600
},
"BACKGROUND_COLOR": "#202225"
}
- Add this line to
settings.json
"WEBAPP_ENDPOINT" : "https://your_fosscord_instance_url"
- It should look like this after you add the line:
{
"IS_MAXIMIZED": true,
"IS_MINIMIZED": false,
"WINDOW_BOUNDS": {
"x": 335,
"y": 86,
"width": 940,
"height": 600
},
"BACKGROUND_COLOR": "#202225",
"WEBAPP_ENDPOINT" : "https://your_fosscord_instance_url"
}
@yukikaze-bot/erlpack
using npm i @yukikaze-bot/erlpack
in order for Electron clients being able to connect to your instance by changing the endpoint
- After this quit your Discord client, reopen it and you are all done!
// Made by ImAaronFR // Added to PR and specific folder by AToska21 // Edited by Z3naero