mirror of
https://github.com/Syncplay/syncplay
synced 2025-03-11 06:07:53 +00:00
[irc] h-here I go
This commit is contained in:
parent
5ea2880f24
commit
d7ad2114af
@ -73,7 +73,7 @@ class Bot(object):
|
||||
self.msg(self.channel, chr(2) + '<' + who + '>'+ chr(15) +' has jumped from ' + utils.formatTime(fromTime) + ' to ' + utils.formatTime(toTime) +' (room ' + room + ')')
|
||||
|
||||
def sockSend(self, s):
|
||||
self.sock.send(s + u'\r\n')
|
||||
self.sock.send(s.encode('utf8') + u'\r\n')
|
||||
def msg(self, who, message):
|
||||
self.sockSend('PRIVMSG ' + who + ' :' + message)
|
||||
def join(self, channel, passw=''):
|
||||
|
Loading…
Reference in New Issue
Block a user