fix join and invite
This commit is contained in:
parent
9aafeb87fd
commit
fa3cdb77b0
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue