relay

Log | Files | Refs

commit 4a87ce81f0ec09e96aca91c860fb923a27b30394
parent cdd76f00f28448b743b4a4354bbe0e25a2a3a9b0
Author: xfnw <xfnw@ttm.sh>
Date:   Tue,  6 Oct 2020 17:19:36 -0400

connect to texas's irc server too

Diffstat:
Mbot.py | 15++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/bot.py b/bot.py @@ -8,11 +8,12 @@ from ircrobots import Server as BaseServer from ircrobots import ConnectionParams SERVERS = [ - ("freenode", "chat.freenode.net"), - ("tilde", "irc.tilde.chat"), - ("technet","irc.technet.xi.ht"), - ("vulpineawoo","irc.wppnx.pii.at"), - ("alphachat","irc.alphachat.net"), + ("freenode", "chat.freenode.net", 6697, True), + ("tilde", "irc.tilde.chat", 6697, True), + ("technet","irc.technet.xi.ht", 6697, True), + ("vulpineawoo","irc.wppnx.pii.at", 6697, True), + ("alphachat","irc.alphachat.net", 6697, True), + ("openirc","91.188.125.227",6668,False), ] class Server(BaseServer): @@ -46,8 +47,8 @@ class Bot(BaseBot): bot = 0 async def main(): bot = Bot() - for name, host in SERVERS: - params = ConnectionParams("xfnwRelay", host, 6697, True) + for name, host, port, ssl in SERVERS: + params = ConnectionParams("xfnwRelay", host, port, ssl) await bot.add_server(name, params) await bot.run()