Kleine Fixes
This commit is contained in:
parent
9fa5d55858
commit
aba8b43a76
@ -1,7 +1,7 @@
|
|||||||
local get_txt = {}
|
local get_txt = {}
|
||||||
|
|
||||||
get_txt.triggers = {
|
get_txt.triggers = {
|
||||||
"(https?://.*.txt)"
|
"(https?://.*%.txt)"
|
||||||
}
|
}
|
||||||
|
|
||||||
function get_txt:action(msg, config, matches)
|
function get_txt:action(msg, config, matches)
|
||||||
|
@ -363,6 +363,7 @@ function rss:cron()
|
|||||||
else
|
else
|
||||||
content = ''
|
content = ''
|
||||||
end
|
end
|
||||||
|
local content = content:gsub('\n', '')
|
||||||
text = text..'\n<b>[</b>#RSS<b>] '..title..'</b>\n<i>'..feed_title..'</i>\n'..utilities.trim(content)..'\n<a href="'..link..'">Auf '..link_name..' ansehen.</a>\n'
|
text = text..'\n<b>[</b>#RSS<b>] '..title..'</b>\n<i>'..feed_title..'</i>\n'..utilities.trim(content)..'\n<a href="'..link..'">Auf '..link_name..' ansehen.</a>\n'
|
||||||
end
|
end
|
||||||
if text ~= '' then
|
if text ~= '' then
|
||||||
|
Reference in New Issue
Block a user