diff options
author | 2025-02-22 02:54:18 -0600 | |
---|---|---|
committer | 2025-02-22 08:54:18 +0000 | |
commit | 45bf97f9bf96e1cd641f6c3243d2442acb099857 (patch) | |
tree | 7a7b6943a5d6859f7981f8b6ef8b798a4e67b13c | |
parent | Add env var setting to determine whether to post daily top reddit posts (diff) |
Adjust user input to title cased when looking up name (#1651)
-rw-r--r-- | bot/exts/utilities/colour.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/utilities/colour.py b/bot/exts/utilities/colour.py index 0380779d..72b186f7 100644 --- a/bot/exts/utilities/colour.py +++ b/bot/exts/utilities/colour.py @@ -163,7 +163,7 @@ class Colour(commands.Cog): @colour.command() async def name(self, ctx: commands.Context, *, user_colour_name: str) -> None: """Create an embed from a name input.""" - hex_colour = self.match_colour_name(ctx, user_colour_name) + hex_colour = self.match_colour_name(ctx, user_colour_name.title()) if hex_colour is None: name_error_embed = discord.Embed( title="No colour match found.", |