mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Made unmorse handle underscores in addition to dashes (as longs)
This commit is contained in:
parent
c8fbb4581b
commit
50bcc22e24
@ -117,6 +117,7 @@ class Moobot(callbacks.Privmsg):
|
|||||||
Does the reverse of the morse/ditdaw command.
|
Does the reverse of the morse/ditdaw command.
|
||||||
"""
|
"""
|
||||||
text = privmsgs.getArgs(args)
|
text = privmsgs.getArgs(args)
|
||||||
|
text = text.replace('_', '-')
|
||||||
L = []
|
L = []
|
||||||
def morseToLetter(m):
|
def morseToLetter(m):
|
||||||
s = m.group(1)
|
s = m.group(1)
|
||||||
|
Loading…
Reference in New Issue
Block a user