Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
await bot.process_commands(message)
Browse files
app.py
CHANGED
|
@@ -115,6 +115,8 @@ async def on_message(message):
|
|
| 115 |
# post to slack only if thread already exists
|
| 116 |
post_to_slack_forum_version(message, SLACK_CHANNEL_ID, message.content, message.author, thread_ts=slack_thread_ts)
|
| 117 |
|
|
|
|
|
|
|
| 118 |
|
| 119 |
@bot.event
|
| 120 |
async def on_thread_create(thread):
|
|
|
|
| 115 |
# post to slack only if thread already exists
|
| 116 |
post_to_slack_forum_version(message, SLACK_CHANNEL_ID, message.content, message.author, thread_ts=slack_thread_ts)
|
| 117 |
|
| 118 |
+
await bot.process_commands(message)
|
| 119 |
+
|
| 120 |
|
| 121 |
@bot.event
|
| 122 |
async def on_thread_create(thread):
|