fix discord changelog channel

remotes/1693176582716663532/tmp_refs/heads/watchparty
Aevann1 2022-10-30 02:43:55 +02:00
parent d52216beda
commit 9985e5c6f6
2 changed files with 2 additions and 3 deletions

View File

@ -148,7 +148,7 @@ AGENDAPOSTER_MSG_HTML = """<p>Hi <a href="/id/{id}"><img loading="lazy" src="/pp
<p>Don't worry, we're here to help! We won't let you post or comment anything that doesn't express your love and acceptance towards the trans community. Feel free to resubmit your {type} with <code>{AGENDAPOSTER_PHRASE}</code> included.</p>
<p><em>This is an automated message; if you need help, you can message us <a href="/contact">here</a>.</em></p>"""
DISCORD_CHANGELOG_CHANNEL_IDS = [1022232469606498324]
DISCORD_CHANGELOG_CHANNEL_ID = 1034632681788538980
WPD_CHANNEL_ID = 1013990963846332456
PIN_AWARD_TEXT = " (pin award)"

View File

@ -10,8 +10,7 @@ def discord_message_send(channel_id, message):
timeout=5)
def send_changelog_message(message):
for channel_id in DISCORD_CHANGELOG_CHANNEL_IDS:
discord_message_send(channel_id, message)
discord_message_send(DISCORD_CHANGELOG_CHANNEL_ID, message)
def send_wpd_message(message):
discord_message_send(WPD_CHANNEL_ID, message)