New forum thread started in {thread.parent.name}
Browse files
app.py
CHANGED
@@ -101,7 +101,7 @@ async def on_thread_create(thread):
|
|
101 |
discord_thread_id = thread.id
|
102 |
slack_thread_ts = post_to_slack_create_thread(
|
103 |
SLACK_CHANNEL_ID,
|
104 |
-
f"New forum thread started in
|
105 |
f"{thread.jump_url}"
|
106 |
)
|
107 |
print("5")
|
|
|
101 |
discord_thread_id = thread.id
|
102 |
slack_thread_ts = post_to_slack_create_thread(
|
103 |
SLACK_CHANNEL_ID,
|
104 |
+
f"New forum thread started in {thread.parent.name} by {thread.owner}: *{thread.name}*\n"
|
105 |
f"{thread.jump_url}"
|
106 |
)
|
107 |
print("5")
|