Changed lithp command to change Xes too.

This commit is contained in:
Jeremy Fincher 2003-03-28 06:57:48 +00:00
parent c85b3bc052
commit 42d20674bb
1 changed files with 5 additions and 1 deletions

View File

@ -244,7 +244,11 @@ class FunCommands(callbacks.Privmsg):
def lithp(self, irc, msg, args):
"<text>"
text = privmsgs.getArgs(args)
irc.reply(msg, text.replace('s', 'th').replace('S', 'TH'))
text = text.replace('s', 'th')
text = text.replace('S', 'TH')
text = text.replace('x', 'kth')
text = text.replace('X', 'KTH')
irc.reply(msg, text)
_leettrans = string.maketrans('oOaAeElBTiIts', '004433187!1+5')
_leetres = ((re.compile(r'\b(?:(?:[yY][o0O][oO0uU])|u)\b'), 'j00'),