update packages

This commit is contained in:
Cynthia Foxwell 2023-04-24 11:10:24 -06:00
parent 00b4c7a59a
commit 2851dbed24
3 changed files with 1529 additions and 1182 deletions

View file

@ -18,20 +18,20 @@
},
"homepage": "https://gitdab.com/Cynosphere/HiddenPhox#readme",
"dependencies": {
"@ctrl/tinycolor": "^3.4.1",
"@distube/ytdl-core": "^4.11.8",
"@ctrl/tinycolor": "^3.6.0",
"@distube/ytdl-core": "^4.11.9",
"@projectdysnomia/dysnomia": "^0.1.1",
"dumpy": "github:Cynosphere/dumpy.js",
"google-images": "^2.1.0",
"jimp": "^0.16.1",
"murmurhash": "^2.0.0",
"jimp": "^0.22.7",
"murmurhash": "^2.0.1",
"node-ffprobe": "^3.0.0",
"sharp": "^0.28.3",
"sqlite3": "^5.0.2"
"sharp": "^0.32.0",
"sqlite3": "^5.1.6"
},
"devDependencies": {
"eslint": "^7.26.0",
"husky": "^8.0.2",
"prettier": "^2.3.0"
"eslint": "^8.39.0",
"husky": "^8.0.3",
"prettier": "^2.8.8"
}
}

File diff suppressed because it is too large Load diff

View file

@ -458,8 +458,8 @@ command.callback = async function (
type = "sc";
} else if (REGEX_FILE.test(argStr)) {
type = "file";
} else if (msg.attachments.length > 0) {
const entries = msg.attachments.filter((attachment) =>
} else if (msg.attachments.size > 0) {
const entries = [...msg.attachments.values()].filter((attachment) =>
REGEX_FILE.test(attachment.url)
);
if (entries.length > 0) {