Updated boilerplate config

There were some mistakes.
This commit is contained in:
Anna “CyberTailor” 2023-05-10 07:13:18 +05:00 committed by hkc
parent c60f19d7c6
commit a08630e23b
Signed by: hkc
GPG Key ID: F0F6CFE11CDB0960
1 changed files with 6 additions and 7 deletions

View File

@ -1,8 +1,3 @@
[DEFAULT]
# Number of retries in case request fails. Applies globally
# Can be changed on per-module basis
http-retries = 5
[main]
# This is a list of output modules. Each module should be defined in section,
# named "module/MODULENAME". Space-separated list of strings.
@ -12,7 +7,7 @@ modules = telegram
instance = mastodon.example.org
# Mastodon user token.
# Required permissions: read:statuses read:lists
# Required permissions: read:accounts read:statuses read:lists
# You can get your token by creating application in
# ${instance}/settings/applications
token = blahblah
@ -38,6 +33,10 @@ list = 1
auto-reconnect = yes
reconnect-delay = 1.0
# Number of retries in case request fails. Applies globally
# Can be changed on per-module basis
http-retries = 5
# Example Telegram integration. You can use it as a template
[module/telegram]
type = telegram
@ -109,7 +108,7 @@ webhook = url
;type = content
;# Mode of the filter.
;# "regexp" requires "regexp" property and should contain... A RegExp
;# "hashtag" should contain space-separated list of tags
;# "tag" should contain space-separated list of tags
;mode = regexp
;# Regular expression pattern to be matched
;regexp = ^x-no-repost