Removed unused config settings
This commit is contained in:
parent
6fca3fcb33
commit
330ef5621f
@ -79,7 +79,6 @@ settings_behavior = {
|
|||||||
"content_type": "text/plain",
|
"content_type": "text/plain",
|
||||||
"content_newline": "\n",
|
"content_newline": "\n",
|
||||||
"post_image_link": False,
|
"post_image_link": False,
|
||||||
"tmp_dir": "/var/tmp",
|
|
||||||
"debug": False
|
"debug": False
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -45,8 +45,6 @@ This is the main configuration setting for the bot.
|
|||||||
|
|
||||||
**`feature_set:`** The feature set of the instance you are connecting to ('mainline', 'fedibird', or 'pleroma'). **This bot has only been tested with 'pleroma'.**
|
**`feature_set:`** The feature set of the instance you are connecting to ('mainline', 'fedibird', or 'pleroma'). **This bot has only been tested with 'pleroma'.**
|
||||||
|
|
||||||
**`sleep_seconds:`** The time between posts (in seconds)
|
|
||||||
|
|
||||||
**`uploads_per_post:`** The number of times the bot should post after `sleep_seconds`
|
**`uploads_per_post:`** The number of times the bot should post after `sleep_seconds`
|
||||||
|
|
||||||
**`max_errors:`** The max consecutive posting errors that should occur before the bot gives up and exits. This usually indicates a temporary problem with the remote server, however if the bot repeatedly fails, and the server is up, it probably means the image is too large to upload. Try reducing the `max_size` variable if this happens. Your image may also be in a format that the remote server rejects, in which case the post should be added to the master blacklist.
|
**`max_errors:`** The max consecutive posting errors that should occur before the bot gives up and exits. This usually indicates a temporary problem with the remote server, however if the bot repeatedly fails, and the server is up, it probably means the image is too large to upload. Try reducing the `max_size` variable if this happens. Your image may also be in a format that the remote server rejects, in which case the post should be added to the master blacklist.
|
||||||
@ -61,8 +59,6 @@ This is the main configuration setting for the bot.
|
|||||||
|
|
||||||
**`post_image_link:`** If set to `True` this will insert a direct media link at the end of the message for each media file uploaded. If `content_type` is `'text\markdown'` it will make the link actionable, otherwise it will simply be a plain text html link. Some instances add this link automatically, in which case this should be set to `False`. See `content_newline` and `content_type` to correctly configure actionable links.
|
**`post_image_link:`** If set to `True` this will insert a direct media link at the end of the message for each media file uploaded. If `content_type` is `'text\markdown'` it will make the link actionable, otherwise it will simply be a plain text html link. Some instances add this link automatically, in which case this should be set to `False`. See `content_newline` and `content_type` to correctly configure actionable links.
|
||||||
|
|
||||||
**`tmp_dir:`** The temporary directory to use if `atomic_saving` is set to `True`. The default location is `/var/tmp`.
|
|
||||||
|
|
||||||
**`debug:`** Set this to true for testing. This will prevent Yandere Lewd Bot from logging into the mastodon instance and asking for your encryption password (meaning that nothing will actually get posted to your account, but it will still do everything else).
|
**`debug:`** Set this to true for testing. This will prevent Yandere Lewd Bot from logging into the mastodon instance and asking for your encryption password (meaning that nothing will actually get posted to your account, but it will still do everything else).
|
||||||
|
|
||||||
## settings_time
|
## settings_time
|
||||||
|
Reference in New Issue
Block a user