[TASK] Add second connection.

This commit is contained in:
Jan Philipp Timme 2015-10-25 13:10:21 +01:00
parent b5ff903d64
commit 73d3fba8f4
1 changed files with 7 additions and 0 deletions

7
bot.py
View File

@ -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()