Compare commits
2 Commits
1259db8212
...
9de4990d69
Author | SHA1 | Date | |
---|---|---|---|
9de4990d69 | |||
ef88dad4a8 |
6
bert.py
6
bert.py
@ -39,7 +39,7 @@ r = "\x034"
|
|||||||
g = "\x033"
|
g = "\x033"
|
||||||
|
|
||||||
context = ssl.create_default_context()
|
context = ssl.create_default_context()
|
||||||
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as sock:
|
with socket.socket(socket.AF_INET6, socket.SOCK_STREAM) as sock:
|
||||||
irc = context.wrap_socket(sock, server_hostname=host)
|
irc = context.wrap_socket(sock, server_hostname=host)
|
||||||
|
|
||||||
|
|
||||||
@ -263,11 +263,11 @@ def start(host, port, nick, password, chans):
|
|||||||
sleep(6)
|
sleep(6)
|
||||||
auth(nick, password)
|
auth(nick, password)
|
||||||
sleep(2)
|
sleep(2)
|
||||||
|
mode(nick)
|
||||||
|
sleep(2)
|
||||||
for chan in chans:
|
for chan in chans:
|
||||||
join(chan)
|
join(chan)
|
||||||
sleep(2)
|
sleep(2)
|
||||||
mode(nick)
|
|
||||||
sleep(2)
|
|
||||||
except Exception as err:
|
except Exception as err:
|
||||||
print("FAIL: "+err)
|
print("FAIL: "+err)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user