diff --git a/litecord/storage.py b/litecord/storage.py index 65367dc..3f548b5 100644 --- a/litecord/storage.py +++ b/litecord/storage.py @@ -447,7 +447,7 @@ class Storage: # this only exists to trick mypy. this codepath is unreachable raise RuntimeError("Unreachable code path.") - async def get_chan_type(self, channel_id: int) -> int: + async def get_chan_type(self, channel_id: int) -> Optional[int]: """Get the channel type integer, given channel ID.""" return await self.db.fetchval( """