Replies: 3 comments 18 replies
-
Guilds are chunked by the time on ready is complete, if my memory serves me right, is guild.members empty before fetching members? |
Beta Was this translation helpful? Give feedback.
-
Can you show the error logged? You probably need to manually specify channels. |
Beta Was this translation helpful? Give feedback.
-
I tried to use the code `import discord, logging client = discord.Client() @client.event client.run("token")` However, the function fetch_members seems not exist in object guild. Is there any breaking changes? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to fetch all the members in several guilds with
guild.fetch_members()
. For guilds that I have moderator permissions in, this works fine. However if I useguild.fetch_members(force_scraping = True)
or run it on a guild I don't have moderator permissions in, it returns an empty list. I think the way members are scraped from the sidebar is broken.Beta Was this translation helpful? Give feedback.
All reactions