forked from hkc/mastoposter
parent
d740ddb0b1
commit
df01956b72
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]
|
[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
|
||||||
|
|
Loading…
Reference in New Issue