1
0
Fork 0

Merge branch 'CyberTailor-config'

This commit is contained in:
Casey 2023-05-10 08:55:47 +03:00
commit 038177b1c2
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] [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