diff options
| author | 2019-07-09 17:45:40 -0400 | |
|---|---|---|
| committer | 2019-07-09 17:45:40 -0400 | |
| commit | 9353a79753a2d5f9fb98fec21b2bd2e8e2248167 (patch) | |
| tree | 566d5876b7e9ae508b7af696ea18bc73b595e22c /bot/bot.py | |
| parent | Relock Pipfile. (diff) | |
| parent | Changing id of terning4 to the correct one (diff) | |
Merge branch 'master' into dpy-1.2
Diffstat (limited to 'bot/bot.py')
| -rw-r--r-- | bot/bot.py | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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: |