Compare commits

..

No commits in common. "1a8aa81a0b6c196ddd2c0bd412d0a82ccbd77252" and "82702d786a71f1147a07edfc5ec379a891103c19" have entirely different histories.

4 changed files with 11 additions and 12 deletions

14
package-lock.json generated
View File

@ -9,16 +9,16 @@
"version": "2.2.0", "version": "2.2.0",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"cuffeo": "^1.0.8", "cuffeo": "^1.0.7-3",
"flumm-fetch": "^1.0.1", "flumm-fetch": "^1.0.1",
"flummpress": "^2.0.5", "flummpress": "^2.0.5",
"postgres": "^3.0.1" "postgres": "^3.0.1"
} }
}, },
"node_modules/cuffeo": { "node_modules/cuffeo": {
"version": "1.0.8", "version": "1.0.7-3",
"resolved": "https://registry.npmjs.org/cuffeo/-/cuffeo-1.0.8.tgz", "resolved": "https://registry.npmjs.org/cuffeo/-/cuffeo-1.0.7-3.tgz",
"integrity": "sha512-DqYjsJwOQ+voaQBauEZl6TGOZBwr/jjftpmdDRQRmauOXdbmh5jb+Yzo7cavvIxBp2vX7gLyVtZI5Ap8YiefdA==", "integrity": "sha512-Lz8AlLdFWeLLGsf6KBXTHnpseeMbuQH69BamhZr8O9Se9pzuHQgv/ed13n2XWreN0RTyRa49YPtsNVwoQnNrLw==",
"dependencies": { "dependencies": {
"flumm-fetch-cookies": "^1.4.0" "flumm-fetch-cookies": "^1.4.0"
} }
@ -56,9 +56,9 @@
}, },
"dependencies": { "dependencies": {
"cuffeo": { "cuffeo": {
"version": "1.0.8", "version": "1.0.7-3",
"resolved": "https://registry.npmjs.org/cuffeo/-/cuffeo-1.0.8.tgz", "resolved": "https://registry.npmjs.org/cuffeo/-/cuffeo-1.0.7-3.tgz",
"integrity": "sha512-DqYjsJwOQ+voaQBauEZl6TGOZBwr/jjftpmdDRQRmauOXdbmh5jb+Yzo7cavvIxBp2vX7gLyVtZI5Ap8YiefdA==", "integrity": "sha512-Lz8AlLdFWeLLGsf6KBXTHnpseeMbuQH69BamhZr8O9Se9pzuHQgv/ed13n2XWreN0RTyRa49YPtsNVwoQnNrLw==",
"requires": { "requires": {
"flumm-fetch-cookies": "^1.4.0" "flumm-fetch-cookies": "^1.4.0"
} }

View File

@ -14,7 +14,7 @@
"author": "Flummi", "author": "Flummi",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"cuffeo": "^1.0.8", "cuffeo": "^1.0.7-3",
"flumm-fetch": "^1.0.1", "flumm-fetch": "^1.0.1",
"flummpress": "^2.0.5", "flummpress": "^2.0.5",
"postgres": "^3.0.1" "postgres": "^3.0.1"

View File

@ -502,9 +502,8 @@ a.btn.disabled {
} }
.btn.disabled, .btn:disabled { .btn.disabled, .btn:disabled {
opacity: 0.65;
user-select: none; user-select: none;
font-weight: bold;
text-shadow: 1px 1px 1px var(--black);
} }
h5 { h5 {

View File

@ -29,8 +29,8 @@ export default async bot => {
f: e => { f: e => {
const links = e.message.match(regex)?.filter(link => !link.includes("f0ck.me")) || []; const links = e.message.match(regex)?.filter(link => !link.includes("f0ck.me")) || [];
if(e.media) if(e.photo)
links.push(e.media); links.push(e.photo);
if(links.length === 0) if(links.length === 0)
return false; return false;