Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -116,7 +116,7 @@ async def on_message(message):
|
|
| 116 |
# post to slack only if thread already exists
|
| 117 |
post_to_slack_forum_version(message, SLACK_CHANNEL_ID, message.content, message.author, thread_ts=slack_thread_ts)
|
| 118 |
|
| 119 |
-
if message.channel.id ==
|
| 120 |
post_to_slack_general(message, SLACK_CHANNEL_ID)
|
| 121 |
|
| 122 |
await bot.process_commands(message)
|
|
|
|
| 116 |
# post to slack only if thread already exists
|
| 117 |
post_to_slack_forum_version(message, SLACK_CHANNEL_ID, message.content, message.author, thread_ts=slack_thread_ts)
|
| 118 |
|
| 119 |
+
if message.channel.id == GIVE_HF_FEEDBACK_CHANNEL_ID:
|
| 120 |
post_to_slack_general(message, SLACK_CHANNEL_ID)
|
| 121 |
|
| 122 |
await bot.process_commands(message)
|