diff --git a/litecord/schemas.py b/litecord/schemas.py index f6f9062..e336eba 100644 --- a/litecord/schemas.py +++ b/litecord/schemas.py @@ -308,8 +308,8 @@ CHAN_CREATE = { 'maxlength': 100, 'required': True }, - 'type': {'coerce': ChannelType, - 'default': ChannelType.GUILD_TEXT}, + 'type': {'type': 'channel_type', + 'default': ChannelType.GUILD_TEXT.value}, 'position': {'coerce': int, 'required': False},