From b907c4cc6e943904e506ec49d3a28d98e9073625 Mon Sep 17 00:00:00 2001 From: Will Da Silva Date: Sun, 4 Oct 2020 22:47:16 -0400 Subject: Add docstring to check_channels --- bot/bot.py | 1 + 1 file changed, 1 insertion(+) (limited to 'bot/bot.py') diff --git a/bot/bot.py b/bot/bot.py index 92873ba4..c004414e 100644 --- a/bot/bot.py +++ b/bot/bot.py @@ -150,6 +150,7 @@ class SeasonalBot(commands.Bot): return True async def check_channels(self) -> None: + """Verifies that all channel constants refer to channels which exist.""" await self.wait_until_guild_available() all_channels = set(self.get_all_channels()) for name, channel_id in vars(Channels).items(): -- cgit v1.2.3