feat: add message_content intent

This commit is contained in:
Lukáš Nedbálek 2024-09-28 00:02:04 +02:00
parent cf22845aa6
commit b05c63d86a

View file

@ -12,6 +12,7 @@ DEFAULT_LOG_FILE = 'kruhobot.log' # Log file for the bot
# Create an instance of the bot
intents = discord.Intents.default()
intents.members = True
intents.message_content = True
bot = commands.Bot(command_prefix='!', intents=intents)