forked from hkc/mastoposter
parent
fd661b6a99
commit
1c85e96502
14
config.ini
14
config.ini
|
@ -50,13 +50,6 @@ chat = @username
|
|||
# https://core.telegram.org/bots/api#sendmessage `disable_notification`
|
||||
silent = true
|
||||
|
||||
# Discord integration
|
||||
[module/discord]
|
||||
type = discord
|
||||
|
||||
# Webhook URL with the `?wait=true`
|
||||
webhook = url
|
||||
|
||||
# Jinja2 template string for the post. Works only in Telegram.
|
||||
# This is the default template, not specifying that property at all will result
|
||||
# in this string (probably)
|
||||
|
@ -67,6 +60,13 @@ template = {% if status.reblog %}Boost from <a href="{{status.reblog.account.url
|
|||
|
||||
<a href="{{status.link}}">Link to post</a>
|
||||
|
||||
# Discord integration
|
||||
[module/discord]
|
||||
type = discord
|
||||
|
||||
# Webhook URL with the `?wait=true`
|
||||
webhook = url
|
||||
|
||||
;# Boost filter. Only boosts will be matched by that one
|
||||
;[filter/boost]
|
||||
;type = boost
|
||||
|
|
Loading…
Reference in New Issue