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":
|
elif line.command == "INVITE":
|
||||||
_send(irctokens.format("JOIN", [line.params[0]]))
|
_send(irctokens.format("JOIN", [line.params[1]]))
|
||||||
|
|
||||||
elif line.command == "PRIVMSG":
|
elif line.command == "PRIVMSG":
|
||||||
try:
|
try:
|
||||||
|
@ -201,3 +202,4 @@ if __name__ == "__main__":
|
||||||
print("ERROR", line)
|
print("ERROR", line)
|
||||||
print(e)
|
print(e)
|
||||||
traceback.print_exc()
|
traceback.print_exc()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue