Bilder mit Tilden werden nun gesendet

This commit is contained in:
Akamaru 2015-11-18 21:35:36 +01:00
parent 33cdb81c33
commit dd19b43fed
1 changed files with 3 additions and 1 deletions

View File

@ -10,7 +10,9 @@ 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-_%.%?%.:/%+=~&]+%.png)",
"^(https?://[%w-_%.%?%.:/%+=~&]+%.jpg)",
"^(https?://[%w-_%.%?%.:/%+=~&]+%.jpeg)",},
run = run
}