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

guild.get_member(userid) returns None #5889

Closed
4 tasks
simonsruggi opened this issue Oct 4, 2020 · 1 comment
Closed
4 tasks

guild.get_member(userid) returns None #5889

simonsruggi opened this issue Oct 4, 2020 · 1 comment
Labels
intents related User provided bad/invalid intents

Comments

@simonsruggi
Copy link

Summary

Hello, I have been using this repository for more than a year without any issues, but now I got an error in the get_member function.

Reproduction Steps

guild = client.get_guild(GUILDID)

author = guild.get_member(ctx.author.id)

The author is None, even if the sender is in the discord server. I never had this issue before.

Expected Results

Author info, in order to add roles, remove roles

Actual Results

None

Intents

Checklist

  • I have searched the open issues for duplicates.
  • I have shown the entire traceback, if possible.
  • I have removed my token from display, if visible.
  • I have provided the intents that my bot is using.

System Information

@simonsruggi simonsruggi added the bug This is a bug with the library. label Oct 4, 2020
@Gobot1234
Copy link
Contributor

Duplicate of #5867

@Rapptz Rapptz closed this as completed Oct 4, 2020
@Rapptz Rapptz removed the bug This is a bug with the library. label Oct 4, 2020
@Rapptz Rapptz added the intents related User provided bad/invalid intents label Oct 14, 2020
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

3 participants