add command params
This commit is contained in:
@@ -143,7 +143,13 @@ class BotEnum(EnumMember, metaclass=BotEnumMetaclass):
|
||||
|
||||
|
||||
class EnumType(TypeDecorator):
|
||||
impl = String(256)
|
||||
impl = String(64)
|
||||
cache_ok = True
|
||||
|
||||
# class comparator_factory(TypeDecorator.Comparator):
|
||||
# def __eq__(self, other):
|
||||
# expr = type_coerce(self.expr, String)
|
||||
# return expr != other.value
|
||||
|
||||
def __init__(self, enum_type: BotEnum):
|
||||
self._enum_type = enum_type
|
||||
|
||||
Reference in New Issue
Block a user