aboutsummaryrefslogtreecommitdiffstats
path: root/bot/bot.py
diff options
context:
space:
mode:
authorGravatar S. Co1 <[email protected]>2019-05-30 20:27:23 -0400
committerGravatar GitHub <[email protected]>2019-05-30 20:27:23 -0400
commit484f61b04c0cfa5c02a2047c1f3fc7f34418d212 (patch)
tree88258e0b987f9bc31bef53f5afcf90074eb4233b /bot/bot.py
parentMerge pull request #211 from RohanRadia/master (diff)
parentFix snake draw command (diff)
Merge pull request #200 from python-discord/docstring-lint-change
Docstring lint change
Diffstat (limited to 'bot/bot.py')
-rw-r--r--bot/bot.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/bot/bot.py b/bot/bot.py
index f3b1acbb..24e919f2 100644
--- a/bot/bot.py
+++ b/bot/bot.py
@@ -25,7 +25,6 @@ class SeasonalBot(commands.Bot):
def load_extensions(self, exts: List[str]):
"""Unload all current extensions, then load the given extensions."""
-
# Unload all cogs
extensions = list(self.extensions.keys())
for extension in extensions:
@@ -43,7 +42,6 @@ class SeasonalBot(commands.Bot):
async def send_log(self, title: str, details: str = None, *, icon: str = None):
"""Send an embed message to the devlog channel."""
-
devlog = self.get_channel(constants.Channels.devlog)
if not devlog:
@@ -60,7 +58,6 @@ class SeasonalBot(commands.Bot):
async def on_command_error(self, context, exception):
"""Check command errors for UserInputError and reset the cooldown if thrown."""
-
if isinstance(exception, commands.UserInputError):
context.command.reset_cooldown(context)
else: