Skip to content

get_member returns none always #5867

Closed
Closed
@BlueRikoroo

Description

@BlueRikoroo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    intents relatedUser provided bad/invalid intents

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions