Due to the update of discord's API, user bots (selfbots) no longer are able to get a full list of members (can't get more than 10 members). So, now this script is limited to only discord bots and not selfbots.
You must have intents enabled on the discord developer portal You must have discord.py installed (I'm using 1.7.3) and python installed (I'm using 3.8.9)
Piggeh#0001 (my discord)
https://www.youtube.com/channel/UC6o8vZttsWTPlu-kxjc62_A
my youtube
Must have discord.py 1.7.3 | In version 2.0 one of the methods is going to be deprecated (removed) to install discord.py version 1.7.3 do (in cmd prompt)
pip install discord.py==1.7.3