lunarflu HF staff commited on
Commit
be053da
·
verified ·
1 Parent(s): 4eb50e7

await bot.process_commands(message)

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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):