We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97e06c3 commit ae9b78aCopy full SHA for ae9b78a
discord/guild.py
@@ -2748,7 +2748,7 @@ async def fetch_member_profile(
2748
with_mutual_friends_count=with_mutual_friends_count,
2749
with_mutual_friends=with_mutual_friends,
2750
)
2751
- if 'guild_member_profile' not in data:
+ if 'guild_member_profile' not in data and 'guild_member' not in data:
2752
raise InvalidData('Member is not in this guild')
2753
if 'guild_member' not in data:
2754
raise InvalidData('Member has blocked you')
0 commit comments