mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-26 20:59:27 +01:00
Changed lithp command to be case-insensitive
This commit is contained in:
parent
c0804180b4
commit
c85b3bc052
@ -244,7 +244,7 @@ class FunCommands(callbacks.Privmsg):
|
||||
def lithp(self, irc, msg, args):
|
||||
"<text>"
|
||||
text = privmsgs.getArgs(args)
|
||||
irc.reply(msg, text.replace('s', 'th'))
|
||||
irc.reply(msg, text.replace('s', 'th').replace('S', 'TH'))
|
||||
|
||||
_leettrans = string.maketrans('oOaAeElBTiIts', '004433187!1+5')
|
||||
_leetres = ((re.compile(r'\b(?:(?:[yY][o0O][oO0uU])|u)\b'), 'j00'),
|
||||
|
Loading…
Reference in New Issue
Block a user