Verbesserte Pattern für images.lua
This commit is contained in:
parent
f73377f032
commit
2f421ab901
@ -10,9 +10,8 @@ end
|
||||
return {
|
||||
description = "Wenn ein Link zu einem Bild gesendet wird, läd und sendet der Bot das Bild.",
|
||||
usage = {"Link zum Bild"},
|
||||
patterns = {"^(https?://[%w-_%.%?%.:/%+=~&%[%]]+%.png)",
|
||||
"^(https?://[%w-_%.%?%.:/%+=~&%[%]]+%.jpg)",
|
||||
"^(https?://[%w-_%.%?%.:/%+=~&%[%]]+%.jpeg)",},
|
||||
patterns = {"^(https?://[%w-_%.%?%.:/%+=~&%[%]]+%.[Pp][Nn][Gg])",
|
||||
"^(https?://[%w-_%.%?%.:/%+=~&%[%]]+%.[Jj][Pp][Ee]?[Gg])"},
|
||||
run = run
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user