update packages
This commit is contained in:
parent
00b4c7a59a
commit
2851dbed24
3 changed files with 1529 additions and 1182 deletions
18
package.json
18
package.json
|
@ -18,20 +18,20 @@
|
||||||
},
|
},
|
||||||
"homepage": "https://gitdab.com/Cynosphere/HiddenPhox#readme",
|
"homepage": "https://gitdab.com/Cynosphere/HiddenPhox#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@ctrl/tinycolor": "^3.4.1",
|
"@ctrl/tinycolor": "^3.6.0",
|
||||||
"@distube/ytdl-core": "^4.11.8",
|
"@distube/ytdl-core": "^4.11.9",
|
||||||
"@projectdysnomia/dysnomia": "^0.1.1",
|
"@projectdysnomia/dysnomia": "^0.1.1",
|
||||||
"dumpy": "github:Cynosphere/dumpy.js",
|
"dumpy": "github:Cynosphere/dumpy.js",
|
||||||
"google-images": "^2.1.0",
|
"google-images": "^2.1.0",
|
||||||
"jimp": "^0.16.1",
|
"jimp": "^0.22.7",
|
||||||
"murmurhash": "^2.0.0",
|
"murmurhash": "^2.0.1",
|
||||||
"node-ffprobe": "^3.0.0",
|
"node-ffprobe": "^3.0.0",
|
||||||
"sharp": "^0.28.3",
|
"sharp": "^0.32.0",
|
||||||
"sqlite3": "^5.0.2"
|
"sqlite3": "^5.1.6"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint": "^7.26.0",
|
"eslint": "^8.39.0",
|
||||||
"husky": "^8.0.2",
|
"husky": "^8.0.3",
|
||||||
"prettier": "^2.3.0"
|
"prettier": "^2.8.8"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
2689
pnpm-lock.yaml
2689
pnpm-lock.yaml
File diff suppressed because it is too large
Load diff
|
@ -458,8 +458,8 @@ command.callback = async function (
|
||||||
type = "sc";
|
type = "sc";
|
||||||
} else if (REGEX_FILE.test(argStr)) {
|
} else if (REGEX_FILE.test(argStr)) {
|
||||||
type = "file";
|
type = "file";
|
||||||
} else if (msg.attachments.length > 0) {
|
} else if (msg.attachments.size > 0) {
|
||||||
const entries = msg.attachments.filter((attachment) =>
|
const entries = [...msg.attachments.values()].filter((attachment) =>
|
||||||
REGEX_FILE.test(attachment.url)
|
REGEX_FILE.test(attachment.url)
|
||||||
);
|
);
|
||||||
if (entries.length > 0) {
|
if (entries.length > 0) {
|
||||||
|
|
Loading…
Reference in a new issue