oups, oublié
This commit is contained in:
parent
e48f74e592
commit
018907f86b
@ -217,7 +217,7 @@ class BotBase(discord.Client):
|
|||||||
self.log.error(e, *args, **kwargs)
|
self.log.error(e, *args, **kwargs)
|
||||||
self.dispatch("log_error", e, *args, **kwargs)
|
self.dispatch("log_error", e, *args, **kwargs)
|
||||||
|
|
||||||
def warning(self, *args, **kwargs):
|
def warning(self, warning, *args, **kwargs):
|
||||||
if self.log:
|
if self.log:
|
||||||
self.log.warning(*args, **kwargs)
|
self.log.warning(warning, *args, **kwargs)
|
||||||
self.dispatch("log_warning", *args, **kwargs)
|
self.dispatch("log_warning", warning, *args, **kwargs)
|
||||||
|
Loading…
Reference in New Issue
Block a user