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 9c576f2 commit 37d30f1Copy full SHA for 37d30f1
bot.py
@@ -671,6 +671,11 @@ async def on_message(self, message):
671
if cmd in self.snippets:
672
message.content = f'{prefix}reply {self.snippets[cmd]}'
673
674
+ snippet = self.snippets[cmd]
675
+ if thread:
676
+ snippet = snippet.format(recipient=thread.recipient)
677
+ message.content = f'{prefix}reply {snippet}'
678
+
679
ctx = await self.get_context(message)
680
if ctx.command:
681
return await self.invoke(ctx)
0 commit comments