feat: add message_content intent
This commit is contained in:
parent
cf22845aa6
commit
b05c63d86a
1 changed files with 1 additions and 0 deletions
1
main.py
1
main.py
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue