telegram magic
This commit is contained in:
parent
22b171c858
commit
86409c9d98
14
package-lock.json
generated
14
package-lock.json
generated
@ -9,16 +9,16 @@
|
||||
"version": "2.2.0",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"cuffeo": "^1.0.7-3",
|
||||
"cuffeo": "^1.0.8",
|
||||
"flumm-fetch": "^1.0.1",
|
||||
"flummpress": "^2.0.5",
|
||||
"postgres": "^3.0.1"
|
||||
}
|
||||
},
|
||||
"node_modules/cuffeo": {
|
||||
"version": "1.0.7-3",
|
||||
"resolved": "https://registry.npmjs.org/cuffeo/-/cuffeo-1.0.7-3.tgz",
|
||||
"integrity": "sha512-Lz8AlLdFWeLLGsf6KBXTHnpseeMbuQH69BamhZr8O9Se9pzuHQgv/ed13n2XWreN0RTyRa49YPtsNVwoQnNrLw==",
|
||||
"version": "1.0.8",
|
||||
"resolved": "https://registry.npmjs.org/cuffeo/-/cuffeo-1.0.8.tgz",
|
||||
"integrity": "sha512-DqYjsJwOQ+voaQBauEZl6TGOZBwr/jjftpmdDRQRmauOXdbmh5jb+Yzo7cavvIxBp2vX7gLyVtZI5Ap8YiefdA==",
|
||||
"dependencies": {
|
||||
"flumm-fetch-cookies": "^1.4.0"
|
||||
}
|
||||
@ -56,9 +56,9 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"cuffeo": {
|
||||
"version": "1.0.7-3",
|
||||
"resolved": "https://registry.npmjs.org/cuffeo/-/cuffeo-1.0.7-3.tgz",
|
||||
"integrity": "sha512-Lz8AlLdFWeLLGsf6KBXTHnpseeMbuQH69BamhZr8O9Se9pzuHQgv/ed13n2XWreN0RTyRa49YPtsNVwoQnNrLw==",
|
||||
"version": "1.0.8",
|
||||
"resolved": "https://registry.npmjs.org/cuffeo/-/cuffeo-1.0.8.tgz",
|
||||
"integrity": "sha512-DqYjsJwOQ+voaQBauEZl6TGOZBwr/jjftpmdDRQRmauOXdbmh5jb+Yzo7cavvIxBp2vX7gLyVtZI5Ap8YiefdA==",
|
||||
"requires": {
|
||||
"flumm-fetch-cookies": "^1.4.0"
|
||||
}
|
||||
|
@ -14,7 +14,7 @@
|
||||
"author": "Flummi",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"cuffeo": "^1.0.7-3",
|
||||
"cuffeo": "^1.0.8",
|
||||
"flumm-fetch": "^1.0.1",
|
||||
"flummpress": "^2.0.5",
|
||||
"postgres": "^3.0.1"
|
||||
|
@ -29,8 +29,8 @@ export default async bot => {
|
||||
f: e => {
|
||||
const links = e.message.match(regex)?.filter(link => !link.includes("f0ck.me")) || [];
|
||||
|
||||
if(e.photo)
|
||||
links.push(e.photo);
|
||||
if(e.media)
|
||||
links.push(e.media);
|
||||
|
||||
if(links.length === 0)
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user