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

get_member returns none always #5867

Closed
3 tasks done
BlueRikoroo opened this issue Sep 29, 2020 · 1 comment
Closed
3 tasks done

get_member returns none always #5867

BlueRikoroo opened this issue Sep 29, 2020 · 1 comment
Labels
intents related User provided bad/invalid intents

Comments

@BlueRikoroo
Copy link

Summary

A recent update to Discord seems to have caused get_member when using a guild to not return the member.

There was a sudden change in all instanced where get_member was used causing my bots to behave ab-normally without any code changes.

Reproduction Steps

get a guild using client.get_guild(guildID)
use guild.get_member(userID)

@bot.event
async def on_ready():
    print(bot.get_guild(287096977630691329).get_member(750920031738789968))

bot.get_guild(287096977630691329) returns the proper guild.
The member ID is from a member in the server. I have tried other IDs.

Expected Results

Returned Member Object

Actual Results

Returned None

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.

System Information

@BlueRikoroo BlueRikoroo added the bug This is a bug with the library. label Sep 29, 2020
@SebbyLaw
Copy link
Contributor

This is not a bug with the library. Please see the recently added intents documentation and v1.5 changelog.

@Rapptz Rapptz added intents related User provided bad/invalid intents and removed bug This is a bug with the library. labels Oct 14, 2020
@Rapptz Rapptz pinned this issue Oct 14, 2020
Repository owner deleted a comment from Ombucha Mar 6, 2022
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