diff --git a/payphone/bot.py b/payphone/bot.py index 921dea0..c6c89d3 100644 --- a/payphone/bot.py +++ b/payphone/bot.py @@ -432,6 +432,9 @@ async def is_channel_enabled(ctx: commands.Context) -> Literal[True]: if channel.enabled: return True + if channel.enabled is False: + raise exceptions.ChannelDisabledError() + if await models.Channel.filter(server_id=server_id, enabled=True).exists(): raise exceptions.ChannelDisabledError()