mirror of
https://github.com/stijndcl/didier.git
synced 2026-04-07 15:48:29 +02:00
Cooler Didier no longer spams Zandbak error logs when working on new stuff
This commit is contained in:
parent
0d75340d64
commit
d8663bed38
1 changed files with 4 additions and 0 deletions
|
|
@ -97,6 +97,10 @@ class Events(commands.Cog):
|
|||
:param ctx: Discord Context
|
||||
:param err: the error thrown
|
||||
"""
|
||||
# Zandbak Didier shouldn't spam the error logs
|
||||
if self.client.user.id == int(constants.coolerDidierId):
|
||||
raise err
|
||||
|
||||
# Don't handle commands that have their own custom error handler
|
||||
if hasattr(ctx.command, 'on_error'):
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue