diff --git a/litecord/storage.py b/litecord/storage.py index 8b97415..c2790b1 100644 --- a/litecord/storage.py +++ b/litecord/storage.py @@ -443,6 +443,9 @@ class Storage: return {**row, **dict(vrow)} + # 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: """Get the channel type integer, given channel ID.""" return await self.db.fetchval(