cogs/color/info.py
async def show_colors(self, ctx):
        """Display an image of equipped colors."""
        colors = db.get(ctx.guild.id, "colors")

        if not colors:
            return await ctx.send(embed=Embed(title="You have no colors"))

        await ctx.send(file=self.draw_colors(colors))
Display an image of equipped colors.
Display an image of equipped colors.
Display an image of equipped colors .
async def show_colors(self, ctx):
        colors = db.get(ctx.guild.id, "colors")
        if not colors:
            return await ctx.send(embed=Embed(title="You have no colors"))
        await ctx.send(file=self.draw_colors(colors))
async def show_colors ( self , ctx ) : colors = db . get ( ctx . guild . id , "colors" ) if not colors : return await ctx . send ( embed = Embed ( title = "You have no colors" ) ) await ctx . send ( file = self . draw_colors ( colors ) )
Display an image of equipped colors.
Display an image of equipped colors .
"""Display an image of equipped colors."""
self
ctx