From b9b1d8c10e999e16cbd067dc49710634e23e6bd7 Mon Sep 17 00:00:00 2001 From: bradtimmis Date: Wed, 10 Nov 2021 06:48:05 -0500 Subject: fix: change kwarg to color_input instead of extra --- bot/exts/utilities/colour.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bot/exts/utilities/colour.py') 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) -- cgit v1.2.3