forked from rDrama/rDrama
fix discord changelog channel
parent
d52216beda
commit
9985e5c6f6
|
@ -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>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>"""
|
<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
|
WPD_CHANNEL_ID = 1013990963846332456
|
||||||
PIN_AWARD_TEXT = " (pin award)"
|
PIN_AWARD_TEXT = " (pin award)"
|
||||||
|
|
||||||
|
|
|
@ -10,8 +10,7 @@ def discord_message_send(channel_id, message):
|
||||||
timeout=5)
|
timeout=5)
|
||||||
|
|
||||||
def send_changelog_message(message):
|
def send_changelog_message(message):
|
||||||
for channel_id in DISCORD_CHANGELOG_CHANNEL_IDS:
|
discord_message_send(DISCORD_CHANGELOG_CHANNEL_ID, message)
|
||||||
discord_message_send(channel_id, message)
|
|
||||||
|
|
||||||
def send_wpd_message(message):
|
def send_wpd_message(message):
|
||||||
discord_message_send(WPD_CHANNEL_ID, message)
|
discord_message_send(WPD_CHANNEL_ID, message)
|
||||||
|
|
Loading…
Reference in New Issue