mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-30 14:14:37 +01:00
Changed lithp command to change Xes too.
This commit is contained in:
parent
c85b3bc052
commit
42d20674bb
@ -244,7 +244,11 @@ class FunCommands(callbacks.Privmsg):
|
|||||||
def lithp(self, irc, msg, args):
|
def lithp(self, irc, msg, args):
|
||||||
"<text>"
|
"<text>"
|
||||||
text = privmsgs.getArgs(args)
|
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')
|
_leettrans = string.maketrans('oOaAeElBTiIts', '004433187!1+5')
|
||||||
_leetres = ((re.compile(r'\b(?:(?:[yY][o0O][oO0uU])|u)\b'), 'j00'),
|
_leetres = ((re.compile(r'\b(?:(?:[yY][o0O][oO0uU])|u)\b'), 'j00'),
|
||||||
|
Loading…
Reference in New Issue
Block a user