How do I get the discord.py intents to work?

intents = discord.Intents.default()
intents.members = True

client = commands.Bot(command_prefix=',', intents=intents)

You also have to enable privileged intents in the developer portal

A Primer Gateway to Intents

Leave a Comment