mirror of
https://gitlab.com/pancakes1234/wdiscordbotserver.git
synced 2025-06-16 07:14:21 -06:00
feat: Enable presence and member intents for enhanced user status and device detection
This commit is contained in:
parent
c1e23c9eeb
commit
6ab23ccdb8
2
bot.py
2
bot.py
@ -42,6 +42,8 @@ if not discord_token:
|
|||||||
# Configure bot with intents
|
# Configure bot with intents
|
||||||
intents = discord.Intents.default()
|
intents = discord.Intents.default()
|
||||||
intents.message_content = True
|
intents.message_content = True
|
||||||
|
intents.presences = True # Enable presence intent for status/device/activity detection
|
||||||
|
intents.members = True # Enable member intent for full member info
|
||||||
|
|
||||||
# Technically no reason to have a prefix set because the bot only uses slash commands.
|
# Technically no reason to have a prefix set because the bot only uses slash commands.
|
||||||
bot = commands.Bot(command_prefix="/", intents=intents)
|
bot = commands.Bot(command_prefix="/", intents=intents)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user