cacassetout #1

Manually merged
fomys merged 15 commits from cacassetout into master 2020-04-24 23:41:36 +02:00
Showing only changes of commit 018907f86b - Show all commits

View File

@ -217,7 +217,7 @@ class BotBase(discord.Client):
self.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:
self.log.warning(*args, **kwargs)
self.dispatch("log_warning", *args, **kwargs)
self.log.warning(warning, *args, **kwargs)
self.dispatch("log_warning", warning, *args, **kwargs)