Fix DOT extension.
This commit is contained in:
parent
bdf18bfc09
commit
adf8120c70
@ -8,16 +8,16 @@ return {
|
||||
description = "When user sends media URL (ends with gif, mp4, pdf, etc.) download and send it to origin.",
|
||||
usage = "",
|
||||
patterns = {
|
||||
"(https?://[%w-_%.%?%.:/%+=&]+.gif)$",
|
||||
"(https?://[%w-_%.%?%.:/%+=&]+.mp4)$",
|
||||
"(https?://[%w-_%.%?%.:/%+=&]+.pdf)$",
|
||||
"(https?://[%w-_%.%?%.:/%+=&]+.ogg)$",
|
||||
"(https?://[%w-_%.%?%.:/%+=&]+.zip)$",
|
||||
"(https?://[%w-_%.%?%.:/%+=&]+.mp3)$",
|
||||
"(https?://[%w-_%.%?%.:/%+=&]+.rar)$",
|
||||
"(https?://[%w-_%.%?%.:/%+=&]+.wmv)$",
|
||||
"(https?://[%w-_%.%?%.:/%+=&]+.doc)$",
|
||||
"(https?://[%w-_%.%?%.:/%+=&]+.avi)$"
|
||||
"(https?://[%w-_%.%?%.:/%+=&]+%.gif)$",
|
||||
"(https?://[%w-_%.%?%.:/%+=&]+%.mp4)$",
|
||||
"(https?://[%w-_%.%?%.:/%+=&]+%.pdf)$",
|
||||
"(https?://[%w-_%.%?%.:/%+=&]+%.ogg)$",
|
||||
"(https?://[%w-_%.%?%.:/%+=&]+%.zip)$",
|
||||
"(https?://[%w-_%.%?%.:/%+=&]+%.mp3)$",
|
||||
"(https?://[%w-_%.%?%.:/%+=&]+%.rar)$",
|
||||
"(https?://[%w-_%.%?%.:/%+=&]+%.wmv)$",
|
||||
"(https?://[%w-_%.%?%.:/%+=&]+%.doc)$",
|
||||
"(https?://[%w-_%.%?%.:/%+=&]+%.avi)$"
|
||||
},
|
||||
run = run
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user