set modes before joining channels
This commit is contained in:
parent
1259db8212
commit
ef88dad4a8
4
bert.py
4
bert.py
|
@ -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