From 53af90f92258905c2bfc4c2db2341dfd1fdc0124 Mon Sep 17 00:00:00 2001 From: xithrius Date: Sun, 24 Jan 2021 06:52:15 -0800 Subject: Fixed linting errors. --- bot/bot.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bot/bot.py') diff --git a/bot/bot.py b/bot/bot.py index 112c9a48..81d59706 100644 --- a/bot/bot.py +++ b/bot/bot.py @@ -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: -- cgit v1.2.3