[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",
|
"realname": "Baz McBatzen",
|
||||||
"channels": ["#botted"]
|
"channels": ["#botted"]
|
||||||
})
|
})
|
||||||
|
connection_manager.add_endpoint(("irc.freenode.net", 6667), {
|
||||||
|
"encoding": "utf-8",
|
||||||
|
"nick": "Pb42",
|
||||||
|
"ident": "foobar2000",
|
||||||
|
"realname": "Baz McBatzen",
|
||||||
|
"channels": ["#botted"]
|
||||||
|
})
|
||||||
|
|
||||||
try:
|
try:
|
||||||
loop.run_forever()
|
loop.run_forever()
|
||||||
|
|
Loading…
Reference in New Issue