Archived
1
0

add psytext alias in lua

This commit is contained in:
Jeff Becker 2017-01-28 15:12:00 -05:00
parent f1f9ae33d9
commit f94ecbdaa9

View File

@ -13,9 +13,14 @@ function explode_text(str)
return span_text("explode", str)
end
function psy_text(str)
return span_text("psy", str)
end
-- generate extra markup
function memeposting(body, prefix)
body = string.gsub(body, "|(.-)|", wobble_text)
body = string.gsub(body, "//(.-)\\\\", explode_text)
body = string.gsub(body, "/@(.-)@\\", psy_text)
return body
end