Strip font from the last message in a channel before trying to translate it
This commit is contained in:
parent
ed838193aa
commit
05eea3b585
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ class Module(ModuleManager.BaseModule):
|
|||
if not phrase:
|
||||
phrase = event["target"].buffer.get()
|
||||
if phrase:
|
||||
phrase = phrase.message
|
||||
phrase = utils.irc.strip_font(phrase.message)
|
||||
if not phrase:
|
||||
raise utils.EventError("No phrase provided.")
|
||||
source_language = "auto"
|
||||
|
|
Loading…
Reference in a new issue