Template example was in the wrong place.

iwannadie
This commit is contained in:
Casey 2022-08-31 19:48:12 +03:00
parent fd661b6a99
commit 1c85e96502
Signed by: hkc
GPG Key ID: F0F6CFE11CDB0960
1 changed files with 7 additions and 7 deletions

View File

@ -50,13 +50,6 @@ chat = @username
# https://core.telegram.org/bots/api#sendmessage `disable_notification` # https://core.telegram.org/bots/api#sendmessage `disable_notification`
silent = true 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. # Jinja2 template string for the post. Works only in Telegram.
# This is the default template, not specifying that property at all will result # This is the default template, not specifying that property at all will result
# in this string (probably) # 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> <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 ;# Boost filter. Only boosts will be matched by that one
;[filter/boost] ;[filter/boost]
;type = boost ;type = boost