feat: Enable presence and member intents for enhanced user status and device detection

This commit is contained in:
pancakes-proxy 2025-06-03 04:02:17 +09:00
parent c1e23c9eeb
commit 6ab23ccdb8

2
bot.py
View File

@ -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)