I had this line in a slash command:
if ctx.member.guild_permissions.kick_members:
it worked as expected. pycharm however kept complaining about nof finding the attribute(s)
recently it was changed to
if ctx.user.guild_permissions.kick_members:
both do the exact same thing, both work fine, but the latter doesn't raise any IDE complaints anymore.
Can someone explain why its behaving this way? I thought they were similar.

