async def roleinfo(self, ctx: aoi.AoiContext, role: discord.Role): await ctx.embed(clr=role.colour, title=f"Info for {role}", fields=[("ID", role.id), ("Members", len(role.members)), ("Color", conversions.color_to_string(role.colour)), ("Hoisted", role.hoist), ("Mentionable", role.mentionable), ("Position", role.position), ("Created at", role.created_at.strftime("%c"))])
async def errorcolor(self, ctx: aoi.AoiContext, color: AoiColor): await self.bot.db.set_error_color(ctx.guild.id, conversions.color_to_string(color)) await ctx.send_ok("Color changed!")