members in a guild stopped working one day

Discord.py 1.5.0+ requires you to enable “Intents”. In order to get a member list of a server, you will need to enable the server member intent in the discord developer portal (Click your bot application, and go to the bot tab), take a look at this link: https://discordpy.readthedocs.io/en/latest/intents.html#privileged-intents if you can’t seem to find it. After you have done that, you need to do this in your code too.

For the code part, i think it’s easier if you take a look at the discord.py docs yourself.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top