minchyeom commited on
Commit
c7de39d
·
1 Parent(s): c6d60e0

Refactor message reply handling to use message.reply instead of message.channel.send

Browse files
Files changed (1) hide show
  1. 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.channel.send(reply)
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: