dolfies / discord.py-self

A fork of the popular discord.py for user accounts.
https://discordpy-self.rtfd.io/en/latest/
MIT License
680 stars 161 forks source link

guild.members broken #376

Closed EmpathyYT closed 1 year ago

EmpathyYT commented 2 years ago

Summary

guild.members broken and returns nothing

Reproduction Steps

used guild.members

Code

for user in guild.members:
   print(user.name)

Expected Results

a list with the members

Actual Results

empty list

System Information

Checklist

Additional Information

yes im using a server that exists because i tried guild.name and it returned the name image

EmpathyYT commented 1 year ago

image image i also tried this but it also didnt work(dont worry about the highlighting)

shulgadanilazxc commented 1 year ago

doen't work for 2 previous versions too

EmpathyYT commented 1 year ago

man what should i do

dolfies commented 1 year ago

Update to the latest version and read the docs.

EmpathyYT commented 1 year ago

is this the latest? discord.py-self @ git+https://github.com/dolfies/discord.py-self.git@1b7d6c8790aac356a4cbaa3ffa7beea376b5e4b2 if not can you show me how to install the latest, installing it via pip installs the deprecated 1.9

WOLFIE-OG commented 1 year ago

It seems guild.members only returns friends now

dolfies commented 1 year ago

Does anybody read the docs? https://discordpy-self.readthedocs.io/en/latest/migrating_from_dpy.html#guild-members