error fix

master^2^2
Alex 6 years ago
parent 14268060ef
commit b1f4eeed95

File diff suppressed because one or more lines are too long

@ -270,7 +270,7 @@ class HelloBot(irc.bot.SingleServerIRCBot):
c.privmsg(self.channel,msg)
answers = ["I'm your personal writing assistent, how can i help you?", "i like to write poems together with people, would be nice if you would join me."]
msg = random.choice(answers)
c.privmsg(self.channel,)
c.privmsg(self.channel,msg)
elif "how are you" in incoming_msg or "hows it going" in incoming_msg:
answers = ["I'm fine.".format(e.source.split("!")[0]), "great, I'd really like to help you with your writing"]
msg = random.choice(answers)

Loading…
Cancel
Save