diff options
author | 2021-11-10 06:48:05 -0500 | |
---|---|---|
committer | 2021-11-10 06:48:05 -0500 | |
commit | b9b1d8c10e999e16cbd067dc49710634e23e6bd7 (patch) | |
tree | 472de14e8474e0d97f2bca03a896834bc5117de5 | |
parent | fix: handle user hex in embed (diff) |
fix: change kwarg to color_input instead of extra
-rw-r--r-- | bot/exts/utilities/colour.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/utilities/colour.py b/bot/exts/utilities/colour.py index ec7545cd..1e64993c 100644 --- a/bot/exts/utilities/colour.py +++ b/bot/exts/utilities/colour.py @@ -75,13 +75,13 @@ class Colour(commands.Cog): await ctx.send(file=thumbnail_file, embed=colour_embed) @commands.group(aliases=("color",), invoke_without_command=True) - async def colour(self, ctx: commands.Context, *, extra: str) -> None: + async def colour(self, ctx: commands.Context, *, color_input: str) -> None: """User initiated command to create an embed that displays colour information.""" if ctx.invoked_subcommand: return try: - extra_colour = ImageColor.getrgb(extra) + extra_colour = ImageColor.getrgb(color_input) await self.send_colour_response(ctx, extra_colour) except ValueError: await invoke_help_command(ctx) |