aboutsummaryrefslogtreecommitdiffstats
path: root/bot/bot.py
diff options
context:
space:
mode:
authorGravatar Will Da Silva <[email protected]>2020-10-04 22:47:16 -0400
committerGravatar Will Da Silva <[email protected]>2020-10-04 22:47:16 -0400
commitb907c4cc6e943904e506ec49d3a28d98e9073625 (patch)
tree7e127cc55564c49436672b712992af44d04e08c7 /bot/bot.py
parentVerify channel constants on startup (diff)
Add docstring to check_channels
Diffstat (limited to 'bot/bot.py')
-rw-r--r--bot/bot.py1
1 files changed, 1 insertions, 0 deletions
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():