diff --git a/.gitignore b/.gitignore index a3ebe78..a0ba7ca 100644 --- a/.gitignore +++ b/.gitignore @@ -38,4 +38,5 @@ plugins/ponyfaces.lua plugins/rss_old.lua plugins/gfycat.lua plugins/yourls.lua -plugins/youtube_channel.lua \ No newline at end of file +plugins/youtube_channel.lua +plugins/pr0gramm.lua \ No newline at end of file diff --git a/plugins/webshot.lua b/plugins/webshot.lua index 680ea07..b429844 100644 --- a/plugins/webshot.lua +++ b/plugins/webshot.lua @@ -59,10 +59,10 @@ return { "/scrot [T|S|E|N|M|L|X|F] [URL]: Fertigt Bild mit bestimmter Größe an (T = tiny, F = full)" }, patterns = { - "^/webshot ([T|t|S|s|E|e|N|n|M|m|L|l|X|x|F|f]) (https?://[%w-_%.%?%.:,/%+=&#!]+)$", - "^/scrot ([T|t|S|s|E|e|N|n|M|m|L|l|X|x|F|f]) (https?://[%w-_%.%?%.:,/%+=&#!]+)$", - "^/webshot (https?://[%w-_%.%?%.:,/%+=&#!]+)$", - "^/scrot (https?://[%w-_%.%?%.:,/%+=&#!]+)$" + "^/webshot ([T|t|S|s|E|e|N|n|M|m|L|l|X|x|F|f]) ([%w-_%.%?%.:,/%+=&#!]+)$", + "^/scrot ([T|t|S|s|E|e|N|n|M|m|L|l|X|x|F|f]) ([%w-_%.%?%.:,/%+=&#!]+)$", + "^/webshot ([%w-_%.%?%.:,/%+=&#!]+)$", + "^/scrot ([%w-_%.%?%.:,/%+=&#!]+)$" }, run = run } \ No newline at end of file