1
0
Fork 0

Updated boilerplate config

There were some mistakes.
This commit is contained in:
Anna “CyberTailor” 2023-05-10 07:13:18 +05:00
parent d740ddb0b1
commit df01956b72
No known key found for this signature in database
GPG Key ID: E7B76EDC50864BB1
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] [main]
# This is a list of output modules. Each module should be defined in section, # This is a list of output modules. Each module should be defined in section,
# named "module/MODULENAME". Space-separated list of strings. # named "module/MODULENAME". Space-separated list of strings.
@ -12,7 +7,7 @@ modules = telegram
instance = mastodon.example.org instance = mastodon.example.org
# Mastodon user token. # 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 # You can get your token by creating application in
# ${instance}/settings/applications # ${instance}/settings/applications
token = blahblah token = blahblah
@ -38,6 +33,10 @@ list = 1
auto-reconnect = yes auto-reconnect = yes
reconnect-delay = 1.0 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 # Example Telegram integration. You can use it as a template
[module/telegram] [module/telegram]
type = telegram type = telegram
@ -109,7 +108,7 @@ webhook = url
;type = content ;type = content
;# Mode of the filter. ;# Mode of the filter.
;# "regexp" requires "regexp" property and should contain... A RegExp ;# "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 ;mode = regexp
;# Regular expression pattern to be matched ;# Regular expression pattern to be matched
;regexp = ^x-no-repost ;regexp = ^x-no-repost