discord.js guild not working code example
Example: discord guild.members not working
#replace
client = discord.Client()
#with
intents = discord.Intents.all()
client = discord.Client(intents=intents)
#to give your bot more permissions
#replace
client = discord.Client()
#with
intents = discord.Intents.all()
client = discord.Client(intents=intents)
#to give your bot more permissions