role7 = discord.utils.get(guild.roles, name="Moderator") if role7 in user.roles: await ctx.send(...) else: await ctx.send(...) I have this Code and i cant figure out how to check if a user has a role. I looked up on the Internet but it isnt working. i also tried Member.roles. Can someone help me? Continue reading...