Update sweebot.py
This commit is contained in:
parent
c7eccbb393
commit
68c4ee9989
1 changed files with 3 additions and 3 deletions
|
@ -350,9 +350,9 @@ while True:
|
|||
if perms == "full":
|
||||
if len(command) > 1:
|
||||
irc.send_irc(channel, nick + ": Sending to socket...")
|
||||
irc.irc_socket.send(bytes(command[1:] + "\n", "UTF-8"))
|
||||
irc2.irc_socket.send(bytes(command[1:] + "\n", "UTF-8"))
|
||||
irc3.irc_socket.send(bytes(command[1:] + "\n", "UTF-8"))
|
||||
irc.irc_socket.send(bytes(" ".join(command[1:]) + "\n", "UTF-8"))
|
||||
irc2.irc_socket.send(bytes(" ".join(command[1:]) + "\n", "UTF-8"))
|
||||
irc3.irc_socket.send(bytes(" ".join(command[1:]) + "\n", "UTF-8"))
|
||||
else:
|
||||
irc.send_irc(channel, nick + ": what to send to the server?")
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue