diff --git a/litecord/storage.py b/litecord/storage.py index be70cd2..eca2481 100644 --- a/litecord/storage.py +++ b/litecord/storage.py @@ -532,6 +532,9 @@ class Storage: async def get_channel(self, channel_id: int, **kwargs) -> Optional[Dict[str, Any]]: """Fetch a single channel's information.""" chan_type = await self.get_chan_type(channel_id) + if chan_type is None: + return None + ctype = ChannelType(chan_type) if ctype in (