1
0
mirror of https://github.com/spacebarchat/docs.git synced 2024-11-08 11:22:31 +01:00

Merge pull request #36 from StudioNorth13/patch-1

readability edits on client connect docs
This commit is contained in:
Erkin Alp Güney 2022-04-09 11:29:57 +03:00 committed by GitHub
commit e4777f17a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,15 +1,12 @@
# Client # Client
## Use your discord client for your instance. ## Use your Discord client for your instance
In order to set your **ENDPOINT** follow these simple steps In order to set your **ENDPOINT** follow these simple steps
- Go to this folder (`%appdata%/yourdiscord_client | Example: %appdata%/discordptb`) - Go to `%appdata%/yourdiscord_client` (Example: `%appdata%/discordptb`)
- There is a file called (`settings.json`) the contents of this file are (`They can be different depending on your discord's client settings`) :
- Note: ( If you are the instance owner make sure to install `@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)
- There is a file called `settings.json`. It should look like: (`Contents can be different depending on your Discord's client settings`)
```js ```js
{ {
@ -25,10 +22,10 @@ In order to set your **ENDPOINT** follow these simple steps
} }
``` ```
- Add this line to ( `settings.json` ) - Add this line to `settings.json`
```js ```js
"WEBAPP_ENDPOINT" : "https://your_fosscord_instace_url" "WEBAPP_ENDPOINT" : "https://your_fosscord_instance_url"
``` ```
- It should look like this after you add the line: - It should look like this after you add the line:
@ -44,11 +41,13 @@ In order to set your **ENDPOINT** follow these simple steps
"height": 600 "height": 600
}, },
"BACKGROUND_COLOR": "#202225", "BACKGROUND_COLOR": "#202225",
"WEBAPP_ENDPOINT" : "https://your_fosscord_instace_url" "WEBAPP_ENDPOINT" : "https://your_fosscord_instance_url"
} }
``` ```
- Note: If you are the instance owner make sure to install `@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 close your discord client and reopen it and you are all done! - After this quit your Discord client, reopen it and you are all done!
// Made by ImAaronFR // Made by ImAaronFR
// Added to PR and specific folder by AToska21 // Added to PR and specific folder by AToska21
// Edited by Z3naero