Fix constructor

This commit is contained in:
Joscha 2019-04-14 20:16:07 +00:00
parent 27600906a6
commit 5cf6a3ed9c

View file

@ -58,8 +58,8 @@ class InfoBot(yaboli.Bot):
"changelog": HELP_CHANGELOG, "changelog": HELP_CHANGELOG,
} }
def __init__(self, config_file): def __init__(self, *args, **kwargs):
super().__init__(config_file) super().__init__(*args, **kwargs)
# using our own help functions, which is why help_=False # using our own help functions, which is why help_=False
self.register_botrulez(help_=False, kill=True, restart=True) self.register_botrulez(help_=False, kill=True, restart=True)