diff options
| author | 2021-09-11 09:57:13 -0400 | |
|---|---|---|
| committer | 2021-09-11 09:57:13 -0400 | |
| commit | 172fd3389481cc690d2eedaf1f70c56efb018bcf (patch) | |
| tree | 3c846921abdc326d1ec23580611bf92237179f01 /bot/resources/fun | |
| parent | Merge branch 'color-677' of github.com:brad90four/sir-lancebot into color-677... (diff) | |
Add fuzzy match function
I made a few changes, the biggest being the fuzzy match function to
return a hex color code based on an input color name.
Open items that I can think of so far:
-Since the json file has color names and hex values, in order to
use fuzzy matching for a color name the color must first be
converted to hex. Currently there is only a rgb to anything function
which returns values in a dictionary.
-The main embed creation references the rgb_color before it is defined,
should the command function be moved to the bottom of the file or just
the main embed creation and sending?
-When using the rgb mode, should the user be forced to do (r, g, b) or
should the command handle an input of "r, g, b"?
If you are reading this, thank you.
Diffstat (limited to 'bot/resources/fun')
0 files changed, 0 insertions, 0 deletions