Intents

If you need to rely on privileged intents (such as the member cache and presences), you need to contact discord support to be whitelisted for them.
Privileged intents will be required to be whitelisted on October 7

If you do not wish to use intents, install version 1.4.2 of the library: `pip install -U discord.py==1.4.2`

The privileged intents are disabled by default. You need to do 2 things to enable them.

The first, pass them into the Client/Bot constructor, eg

Secondly, if you haven't already, go to the Developers page on discord, and enable the checks you need: https://cdn.idevision.net/WJn.png

With that, you should have a proper cache and ready for intents. If you want more info on intents, check the following links:

https://discordpy.readthedocs.io/en/latest/intents.html

https://discordpy.readthedocs.io/en/latest/api.html#discord.Intents