Spaces:
Runtime error
Runtime error
Refactor message reply handling to use message.reply instead of message.channel.send
Browse files- bot/discord_bot.py +1 -1
bot/discord_bot.py
CHANGED
|
@@ -42,7 +42,7 @@ class LLMDiscordBot(commands.Bot):
|
|
| 42 |
return
|
| 43 |
|
| 44 |
if reply:
|
| 45 |
-
await message.
|
| 46 |
|
| 47 |
|
| 48 |
def run_bot(token: str | None = None) -> None:
|
|
|
|
| 42 |
return
|
| 43 |
|
| 44 |
if reply:
|
| 45 |
+
await message.reply(reply, mention_author=False)
|
| 46 |
|
| 47 |
|
| 48 |
def run_bot(token: str | None = None) -> None:
|