|
4 | 4 | All settings regarding how the bot will work can be configured here.
|
5 | 5 |
|
6 | 6 | * `"steemAPIURL"` (String): Sets Steem API server
|
| 7 | +* `"IPFS_API_Port"` (Integer): Sets the IPFS API port the bot should use while communicating with IPFS daemon |
7 | 8 | * `"communityAccount"` (String): Sets community Steem account for collectiong donations (e.g. to pay for IPFS servers)
|
8 | 9 | * `"trickledag"` (Bool): Enable trickledag pinning by setting it to true. You may have to try setting this to `false` if same IPFS hash (as downloaded file name) is obtained without trickledag option.
|
9 | 10 | * `"silentModeEnabled"` (Boolean): If set to true, bot messages will be logged to the console instead of sending them to the chat. Excludes `Pong!` replies and download complete messages. Useful if running multiple instances of bot on different servers (and preferbly different geographical location)
|
10 | 11 | * `"sdOnlyMode"` (Boolean): If set to true, 720p, 1080p and source pinning commands will be disabled regardless of whitelists.
|
11 | 12 | * `"hdWhitelistEnabled"` (Boolean): If set to true, whitelisting system is enabled, therefore admins may whitelist certain users to that they can execute 720p, 1080p and source pinning commands.
|
| 13 | +`"restrictedMode"` (Boolean): If set to true, only whitelisted users (if whitelisting system is enabled) may run any pinning commands regardless of resolutions. |
12 | 14 | * `"donationsAccepted"` (Boolean): If set to true, donation commands are enabled.
|
13 | 15 | * `"commandPrefix"` (String): Any string before each bot command goes here. You may change the pre-configured `!` to something else so that it may not conflict with other bots that may be in the same Discord server.
|
| 16 | +* `"nodeID"` (Number or String): A short unique identifier that may be used to filter `!stats` command. Alternatively, the entire peer ID of IPFS node may be used for filtering this command. |
14 | 17 |
|
15 | 18 | ## Section 2: Bot Output Message
|
16 | 19 | Useful to tweak if running the bot on multiple servers to differentiate between instances.
|
17 | 20 |
|
18 |
| -Recommended to tweak: `PING_PEPLY`, `VIDEO_DOWNLOAD_COMPLETE` and `AUDIO_DOWNLOAD_COMPLETE`. |
| 21 | +Recommended to tweak: |
| 22 | +* `PING_PEPLY` |
| 23 | +* `VIDEO_DOWNLOAD_COMPLETE` |
| 24 | +* `AUDIO_DOWNLOAD_COMPLETE` |
| 25 | +* `ERROR_FILE_ALREADY_PINNED` |
| 26 | +* `IPFS_ID_MESSAGE_PREFIX` |
| 27 | +* `IPFS_STAT_EMBED_TITLE` |
0 commit comments