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

Update Discord bot intents to enable all message content

Browse files
Files changed (1) hide show
  1. bot/discord_bot.py +1 -2
bot/discord_bot.py CHANGED
@@ -18,8 +18,7 @@ class LLMDiscordBot(commands.Bot):
18
  """Discord bot that interfaces with :class:`ChatSession`."""
19
 
20
  def __init__(self, *, intents: discord.Intents | None = None) -> None:
21
- intents = intents or discord.Intents.default()
22
- intents.message_content = True
23
  super().__init__(command_prefix=None, intents=intents)
24
  self._log = get_logger(self.__class__.__name__)
25
 
 
18
  """Discord bot that interfaces with :class:`ChatSession`."""
19
 
20
  def __init__(self, *, intents: discord.Intents | None = None) -> None:
21
+ intents = intents or discord.Intents.all()
 
22
  super().__init__(command_prefix=None, intents=intents)
23
  self._log = get_logger(self.__class__.__name__)
24