Is there any way I can do this? I haven't found any answer that answers this.
@bot.command()
async def check_rank(ctx)
if "Administrator" in ctx.author.roles
color = ctx.author.color
await ctx.send("Checked rank!")
Something similar? I have this modmail code and I want it to use the users role color and name in the embed.