strip all font before rainbowifying text
This commit is contained in:
parent
e7a1b157de
commit
ef3bdbf9fc
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
args = event["target"].buffer.get()
|
args = event["target"].buffer.get()
|
||||||
if not args:
|
if not args:
|
||||||
raise utils.EventError("No line found to rainbowify")
|
raise utils.EventError("No line found to rainbowify")
|
||||||
|
args = utils.irc.strip_font(args)
|
||||||
|
|
||||||
offset = random.randint(0, len(COLORS))
|
offset = random.randint(0, len(COLORS))
|
||||||
out = ""
|
out = ""
|
||||||
|
|
Loading…
Reference in a new issue