You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I do get the guilds the bot is in it returns 0 The bot is in 4 server and it seems like even when I try and get them in multiple ways such as using guilds = [guild.id for guild in cient.guilds] it still will return 0 or an empty list
Reproduction Steps
guilds = client.guilds print(len(guilds))
Expected Results
It should print 4 or the list of guild the bot is in.
Actual Results
Returns 0 when using len and an empty list when just using print(guilds)
Can't reproduce on v1.5.0, Probably a Duplicate of #5867
Your library version is wrong as well. v15 does not exist.
For further help specific to using this library, you should join either the official discord.py server or the Discord API server, as the README recommends.
Can't reproduce on v1.5.0, Probably a Duplicate of #5867
Your library version is wrong as well. v15 does not exist.
For further help specific to using this library, you should join either the official discord.py server or the Discord API server, as the README recommends.
I have joined the discord there the ones who told me to add the issue. I will join the Discord API server, thanks for looking at it
It sounds like this is an intents issue but it could be one of any other- it's unlikely to be an issue with discord.py itself. The discord-api guild has the same people as the discord.py guild, and it would probably be easiest to link the messages where you were told to go here to further sort this.
Summary
When I do get the guilds the bot is in it returns 0 The bot is in 4 server and it seems like even when I try and get them in multiple ways such as using
guilds = [guild.id for guild in cient.guilds]
it still will return 0 or an empty listReproduction Steps
guilds = client.guilds print(len(guilds))
Expected Results
It should print 4 or the list of guild the bot is in.
Actual Results
Returns 0 when using
len
and an empty list when just usingprint(guilds)
Intents
intents = discord.Intents.default()
intents.members = True
intents.presences = True
Checklist
System Information
The text was updated successfully, but these errors were encountered: