Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

client.get_all_members returns only its own self #5959

Closed
danielthetam opened this issue Oct 23, 2020 · 2 comments
Closed

client.get_all_members returns only its own self #5959

danielthetam opened this issue Oct 23, 2020 · 2 comments
Labels
intents related User provided bad/invalid intents

Comments

@danielthetam
Copy link

CODE

def add_all_users_to_db():
    for member in client.get_all_members():
        print(member.name, member.id)

OUTPUT
KnightsRPG 742218608230269060
For some reason my bot is returning its own name and id, and it does it three times. Is this a bug?

@danielthetam danielthetam added the bug This is a bug with the library. label Oct 23, 2020
@Rapptz Rapptz added intents related User provided bad/invalid intents and removed bug This is a bug with the library. labels Oct 23, 2020
@Rapptz
Copy link
Owner

Rapptz commented Oct 23, 2020

Next time you open an issue please do not delete the template. It's there for a reason.

This is a duplicate of #5867 and the documentation here

@Rapptz Rapptz closed this as completed Oct 23, 2020
@danielthetam
Copy link
Author

I see, sorry man. Thanks for letting me know

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
intents related User provided bad/invalid intents
Projects
None yet
Development

No branches or pull requests

2 participants