Update README.md
This commit is contained in:
parent
cb07460d30
commit
fec8605c2c
1 changed files with 14 additions and 13 deletions
27
README.md
27
README.md
|
|
@ -1,17 +1,18 @@
|
||||||
# SPPK
|
# SPPK
|
||||||
### SimplyPlural -> PluralKit Connectivity.
|
### SimplyPlural -> PluralKit Connectivity.
|
||||||
|
|
||||||
#### .env
|
### Fork this repository and simply deploy to Heroku!
|
||||||
```
|
This project already has a Procfile set up, so it's super easy to get started. Once you have forked / cloned this repo, you can connect it to Heroku and fill in your credentials as config variables. More info below.
|
||||||
token = "token_here",
|
|
||||||
userId = "userid_here",
|
|
||||||
pk_token = "pluralkit_token_here",
|
|
||||||
pk_system = "pluralkit_system_id"
|
|
||||||
```
|
|
||||||
`token`: Your SimplyPlural account token. As of now, the only permission necessary is the Read permission.
|
|
||||||
|
|
||||||
`userId`: Your SimplyPlural account/system ID. You can find it in account info near the bottom.
|
#### Environment Variables
|
||||||
|
These can be set either in the .env file, in terminal, or in the config vars section of Heroku.
|
||||||
`pk_token`: Your PluralKit token. Get it by using pk;token
|
| Setting | Default | Description |
|
||||||
|
| ---------| ------- | ------------------ |
|
||||||
`pk_system`: Your Pluralkit system ID. This can be either your Discord account ID or your 5 letter ID shown by using pk;system.
|
| url | https://devapi.apparyllis.com | The base URL for all SimplyPlural API requests. Unless you are running your own fork of Simply Plural, you shouldn't change this. |
|
||||||
|
| socket | wss://devapi.apparyllis.com/v1/socket | The socket URL for SimplyPlural. Unless you are running your own fork of Simply Plural, you shouldn't change this. |
|
||||||
|
| pk_url | https://api.pluralkit.me/v2 | The base URL for all PluralKit API requests. Unless you are running your own fork of PluralKit, you shouldn't change this. |
|
||||||
|
| token | token_here | Your SimplyPlural account token. As of now, the only permission necessary is the Read permission. |
|
||||||
|
| userId | user_id | Your SimplyPlural account/system ID. You can find it in account info near the bottom. |
|
||||||
|
| pk_token | pluralkit_token_here | Your PluralKit token. Get it by using `pk;token`. |
|
||||||
|
| pk_system | pluralkit_system_id | Your Pluralkit system ID. This can be either your Discord account ID or your 5 letter ID shown by using pk;system. |
|
||||||
|
| heartbeat | 4500000 | The time in miliseconds before the websocket client reconnects to the websocket server. |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue