diff options
author | 2021-11-11 17:02:45 -0500 | |
---|---|---|
committer | 2021-11-11 17:02:45 -0500 | |
commit | 1914905bdc7bd591ff906562ee0496346d37a045 (patch) | |
tree | 5ce54d7b16fb03c638b9220aa067400e9e2d0fb8 /bot/exts/utilities/colour.py | |
parent | Merge branch 'color-677' of github.com:brad90four/sir-lancebot into color-677 (diff) |
fix: remove alpha values in embed for hex
Diffstat (limited to 'bot/exts/utilities/colour.py')
-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 c865859a..d438fa27 100644 --- a/bot/exts/utilities/colour.py +++ b/bot/exts/utilities/colour.py @@ -43,7 +43,7 @@ class Colour(commands.Cog): elif colour_mode == "name": input_colour = ctx.kwargs["user_colour_name"] elif colour_mode == "hex": - input_colour = ctx.args[2:][0] + input_colour = ctx.args[2:][0][0:-2] else: input_colour = tuple(ctx.args[2:]) @@ -80,7 +80,7 @@ class Colour(commands.Cog): """ Create an embed that displays colour information. - If no subcommand is called, a randomly selected colour will be shown. + If no subcommand is called, a randomly selected colour will be selected and shown. """ if color_input is None: await self.random(ctx) |