Refactor error handling slightly and don't use embeds for basic status/error messages. Closes #28.
This commit is contained in:
@@ -64,6 +64,7 @@ class MemberNameTooLongError(PluralKitError):
|
||||
else:
|
||||
super().__init__("The maximum length of a member name is 32 characters.")
|
||||
|
||||
|
||||
class InvalidColorError(PluralKitError):
|
||||
def __init__(self):
|
||||
super().__init__("Color must be a valid hex color. (eg. #ff0000)")
|
||||
Reference in New Issue
Block a user