aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/utilities/colour.py
diff options
context:
space:
mode:
Diffstat (limited to 'bot/exts/utilities/colour.py')
-rw-r--r--bot/exts/utilities/colour.py4
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)