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 61b77e7 commit 2cd8ef7Copy full SHA for 2cd8ef7
bot.py
@@ -669,8 +669,7 @@ async def on_message(self, message):
669
if message.content.startswith(prefix):
670
cmd = message.content[len(prefix):].strip()
671
if cmd in self.snippets:
672
- message.content = f'{prefix}reply {self.snippets[cmd]}'
673
-
+ thread = await self.threads.find(channel=message.channel)
674
snippet = self.snippets[cmd]
675
if thread:
676
snippet = snippet.format(recipient=thread.recipient)
0 commit comments