From 73d3fba8f413ae57f2ba64b2f68d9cee68c0a130 Mon Sep 17 00:00:00 2001 From: Jan Philipp Timme Date: Sun, 25 Oct 2015 13:10:21 +0100 Subject: [PATCH] [TASK] Add second connection. --- bot.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bot.py b/bot.py index 6236487..779c0b3 100644 --- a/bot.py +++ b/bot.py @@ -187,6 +187,13 @@ if __name__ == "__main__": "realname": "Baz McBatzen", "channels": ["#botted"] }) + connection_manager.add_endpoint(("irc.freenode.net", 6667), { + "encoding": "utf-8", + "nick": "Pb42", + "ident": "foobar2000", + "realname": "Baz McBatzen", + "channels": ["#botted"] + }) try: loop.run_forever()