[TASK] Add second connection.
This commit is contained in:
parent
b5ff903d64
commit
73d3fba8f4
7
bot.py
7
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()
|
||||
|
|
Loading…
Reference in New Issue