parent
c60f19d7c6
commit
a08630e23b
13
config.ini
13
config.ini
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue