diff --git a/litecord/schemas.py b/litecord/schemas.py index a746bfe..63c2c92 100644 --- a/litecord/schemas.py +++ b/litecord/schemas.py @@ -659,6 +659,8 @@ GET_MENTIONS = { FEATURES = { 'features': { 'type': 'list', 'required': True, - 'schema': {'coerce': Feature} + + # using Feature doesn't seem to work with a "not callable" error. + 'schema': {'coerce': lambda x: Feature(x)} } } diff --git a/run.py b/run.py index 8441f28..15ce2b4 100644 --- a/run.py +++ b/run.py @@ -145,7 +145,7 @@ def set_blueprints(app_): static: -1, voice_admin: '/admin/voice', - features_admin: '/admin/features', + features_admin: '/admin/guilds', guilds_admin: '/admin/guilds' }