aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen/error_handler.py
diff options
context:
space:
mode:
authorGravatar vcokltfre <[email protected]>2021-04-19 21:17:10 +0100
committerGravatar vcokltfre <[email protected]>2021-04-19 21:17:10 +0100
commitf919e0cdb9cff71c187f55ea4447ef4934c5b9ab (patch)
tree17effd89262b2a4e7aed8c1cfea25fc61c05fed2 /bot/exts/evergreen/error_handler.py
parentchore(evergreen): make usage of . at sentence ends consistent (diff)
chore(evergreen): remove unneeded cog constructors
Diffstat (limited to 'bot/exts/evergreen/error_handler.py')
-rw-r--r--bot/exts/evergreen/error_handler.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/bot/exts/evergreen/error_handler.py b/bot/exts/evergreen/error_handler.py
index 64460822..dabd0ab5 100644
--- a/bot/exts/evergreen/error_handler.py
+++ b/bot/exts/evergreen/error_handler.py
@@ -18,9 +18,6 @@ log = logging.getLogger(__name__)
class CommandErrorHandler(commands.Cog):
"""A error handler for the PythonDiscord server."""
- def __init__(self, bot: Bot):
- self.bot = bot
-
@staticmethod
def revert_cooldown_counter(command: commands.Command, message: Message) -> None:
"""Undoes the last cooldown counter for user-error cases."""