fix join and invite

This commit is contained in:
Ben Harris 2020-03-12 10:00:33 -04:00
parent 9aafeb87fd
commit fa3cdb77b0
1 changed files with 4 additions and 2 deletions

View File

@ -189,10 +189,11 @@ if __name__ == "__main__":
],
)
)
_send(irctokens.format("JOIN", bot.getlist("channels")))
_send(irctokens.format("JOIN", [",".join(bot.getlist("channels"))]))
elif line.command == "INVITE":
_send(irctokens.format("JOIN", [line.params[0]]))
_send(irctokens.format("JOIN", [line.params[1]]))
elif line.command == "PRIVMSG":
try:
@ -201,3 +202,4 @@ if __name__ == "__main__":
print("ERROR", line)
print(e)
traceback.print_exc()