diff options
author | 2021-01-24 06:52:15 -0800 | |
---|---|---|
committer | 2021-01-24 06:52:15 -0800 | |
commit | 53af90f92258905c2bfc4c2db2341dfd1fdc0124 (patch) | |
tree | f8d459d3e4dbe194f6ec04f886833954e1f482c2 /bot/bot.py | |
parent | Merge branch 'master' into startup-channel-check (diff) |
Fixed linting errors.
Diffstat (limited to 'bot/bot.py')
-rw-r--r-- | bot/bot.py | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -37,7 +37,6 @@ class Bot(commands.Bot): self.loop.create_task(self.check_channels()) self.loop.create_task(self.send_log(self.name, "Connected!")) - @property def member(self) -> Optional[discord.Member]: """Retrieves the guild member object for the bot.""" @@ -76,7 +75,7 @@ class Bot(commands.Bot): """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(): + for name, channel_id in vars(constants.Channels).items(): if name.startswith('_'): continue if channel_id not in all_channels: |