shorten modesetting
This commit is contained in:
parent
b3364d99b0
commit
5676bf4735
10
bert.py
10
bert.py
@ -115,15 +115,9 @@ def join(chan):
|
||||
|
||||
|
||||
def mode(nick):
|
||||
print("Setting mode +B")
|
||||
print("Setting modes +B-x")
|
||||
try:
|
||||
sendRaw("MODE "+nick+" +B\n")
|
||||
except Exception as err:
|
||||
print("Failed! "+err)
|
||||
|
||||
print("Setting mode -x")
|
||||
try:
|
||||
sendRaw("MODE "+nick+" -x\n")
|
||||
sendRaw("MODE "+nick+" +B-x\n")
|
||||
except Exception as err:
|
||||
print("Failed! "+err)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user