Spaces:
Paused
Paused
fix + jump_url
Browse files
app.py
CHANGED
|
@@ -61,7 +61,7 @@ async def on_message(message):
|
|
| 61 |
# title
|
| 62 |
response = slack_client.chat_postMessage(
|
| 63 |
channel=SLACK_CHANNEL_ID,
|
| 64 |
-
text=f"New post in #ask-for-help by {message.author}
|
| 65 |
)
|
| 66 |
# reply in thread
|
| 67 |
thread_ts = response['ts']
|
|
|
|
| 61 |
# title
|
| 62 |
response = slack_client.chat_postMessage(
|
| 63 |
channel=SLACK_CHANNEL_ID,
|
| 64 |
+
text=f"New post in #ask-for-help by {message.author}: *{message.channel.name}*\n{message.jump_url}"
|
| 65 |
)
|
| 66 |
# reply in thread
|
| 67 |
thread_ts = response['ts']
|