mirror of
https://github.com/oddluck/limnoria-plugins.git
synced 2025-04-29 06:51:12 -05:00
Update plugin.py
This commit is contained in:
parent
fb5c73f26b
commit
189769c1a4
@ -794,8 +794,8 @@ class ASCII(callbacks.Plugin):
|
|||||||
output = output.replace('[1m', '')
|
output = output.replace('[1m', '')
|
||||||
output = re.sub('(\x9B|\x1B\[)[0-?]*[ -\/]*[@-~]', '', output)
|
output = re.sub('(\x9B|\x1B\[)[0-?]*[ -\/]*[@-~]', '', output)
|
||||||
paste = ""
|
paste = ""
|
||||||
for line in output.splitlines()[:-1]:
|
for line in output.splitlines():
|
||||||
if line.strip():
|
if line.strip() and not line.startswith("Follow"):
|
||||||
paste += line + "\n"
|
paste += line + "\n"
|
||||||
#time.sleep(delay)
|
#time.sleep(delay)
|
||||||
irc.reply(line, prefixNick = False, noLengthCheck=True, private=False, notice=False)
|
irc.reply(line, prefixNick = False, noLengthCheck=True, private=False, notice=False)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user