We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a05d1c commit 2d54506Copy full SHA for 2d54506
bot.py
@@ -362,8 +362,15 @@ async def on_message(self, message):
362
cmd = message.content[len(prefix):].strip()
363
if cmd in self.snippets:
364
message.content = f'{prefix}reply {self.snippets[cmd]}'
365
+
366
+ ctx = await self.get_context(message)
367
+ if ctx.command:
368
+ return await self.invoke(ctx)
369
370
+ thread = await self.threads.find(channel=ctx.channel)
371
- await self.process_commands(message)
372
+ if thread is not None:
373
+ await self.modmail_api.append_log(message, type='internal')
374
375
async def on_guild_channel_delete(self, channel):
376
if channel.guild != self.modmail_guild:
0 commit comments