Merge branch 'cherry-pick-283d43ac' into 'tildeverse'
Merge branch 'patch-1' into 'master' See merge request oneseveneight/tcirc!3
This commit is contained in:
commit
dde515b0f6
2
tcirc.py
2
tcirc.py
|
@ -175,7 +175,7 @@ def irc_to_mc():
|
|||
irc.send(bytes('PRIVMSG ' + channel + ' :' + response + '\n', 'utf8'))
|
||||
print('PRIVMSG ' + channel + ' :' + response)
|
||||
else:
|
||||
text = re.sub("([\x03\x0f])([0-9A-Fa-f](?:,[0-9A-Fa-f])?)?",irc_to_mc_colors,text)
|
||||
text = re.sub("([\x03\x0f])([0-9A-Fa-f]{1,2}(?:,[0-9A-Fa-f]{1,2})?)?",irc_to_mc_colors,text)
|
||||
rcon.command('say ' + text[:-2])
|
||||
|
||||
elif 'JOIN' in text or 'PART' in text:
|
||||
|
|
Loading…
Reference in New Issue