diff --git a/bot.py b/bot.py index d89283a..cbf02a5 100644 --- a/bot.py +++ b/bot.py @@ -9,10 +9,10 @@ def get_title(link): return link # TODO: actually make this get the title of a link. class SOTDBot(teambot.Handler,teambot.CommandHandlerMixin): - def __init__(self): + def __init__(self,*args): self.prefix = "!" self.botop = "khuxkm" - super(SOTDBot,self).__init__() + super(SOTDBot,self).__init__(*args) def handle_command(self,target,nick,text): if not text.startswith(self.prefix): return