diff options
author | Ben Harris <ben@tilde.team> | 2020-03-12 10:00:33 -0400 |
---|---|---|
committer | Ben Harris <ben@tilde.team> | 2020-03-12 10:00:33 -0400 |
commit | fa3cdb77b078b9bc9d9ac6ad81ae042c5bba06c7 (patch) | |
tree | f180db33266ed75e713e88138ea4dd6022235a4e /tracer.py | |
parent | 9aafeb87fd0f0d1d6c16870fd2e6b6368d2ed294 (diff) |
fix join and invite
Diffstat (limited to 'tracer.py')
-rw-r--r-- | tracer.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tracer.py b/tracer.py index e634fcd..1b68451 100644 --- a/tracer.py +++ b/tracer.py @@ -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() + |