diff --git a/events/guild/update.ts b/events/guild/update.ts index dc17bfcd3..355a0daa6 100644 --- a/events/guild/update.ts +++ b/events/guild/update.ts @@ -211,6 +211,8 @@ const event: Event<"guildUpdate"> = async function event(oldGuild, newGuild) { if (oldGuild.preferredLocale !== newGuild.preferredLocale) logs.push(`Server primary language switched to ${newGuild.preferredLocale}`); + // todo: maxStageVideoChannelUsers + if (oldGuild.premiumProgressBarEnabled !== newGuild.premiumProgressBarEnabled) logs.push(`Boost progress bar ${newGuild.premiumProgressBarEnabled ? "shown" : "hidden"}`); diff --git a/package-lock.json b/package-lock.json index 37d1dd5d7..5bfeb58ce 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,19 +1,19 @@ { "name": "scradd", - "version": "2.6.4", + "version": "2.6.5", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "scradd", - "version": "2.6.4", + "version": "2.6.5", "dependencies": { "@discordjs/opus": "0.9.0", - "@discordjs/voice": "0.15.0", + "@discordjs/voice": "0.16.0", "@napi-rs/canvas": "0.1.37", "async-exit-hook": "2.0.1", "difflib": "0.2.4", - "discord.js": "14.8.0", + "discord.js": "14.9.0", "dotenv": "16.0.3", "ffmpeg-static": "5.1.0", "fuse.js": "6.6.2", @@ -74,17 +74,6 @@ "node": ">=16.9.0" } }, - "node_modules/@discordjs/builders/node_modules/@discordjs/formatters": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/@discordjs/formatters/-/formatters-0.3.0.tgz", - "integrity": "sha512-Fc4MomalbP8HMKEMor3qUiboAKDtR7PSBoPjwm7WYghVRwgJlj5WYvUsriLsxeKk8+Qq2oy+HJlGTUkGvX0YnA==", - "dependencies": { - "discord-api-types": "^0.37.37" - }, - "engines": { - "node": ">=16.9.0" - } - }, "node_modules/@discordjs/collection": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/@discordjs/collection/-/collection-1.5.0.tgz", @@ -94,11 +83,11 @@ } }, "node_modules/@discordjs/formatters": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/@discordjs/formatters/-/formatters-0.2.0.tgz", - "integrity": "sha512-vn4oMSXuMZUm8ITqVOtvE7/fMMISj4cI5oLsR09PEQXHKeKDAMLltG/DWeeIs7Idfy6V8Fk3rn1e69h7NfzuNA==", + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@discordjs/formatters/-/formatters-0.3.0.tgz", + "integrity": "sha512-Fc4MomalbP8HMKEMor3qUiboAKDtR7PSBoPjwm7WYghVRwgJlj5WYvUsriLsxeKk8+Qq2oy+HJlGTUkGvX0YnA==", "dependencies": { - "discord-api-types": "^0.37.35" + "discord-api-types": "^0.37.37" }, "engines": { "node": ">=16.9.0" @@ -163,15 +152,15 @@ } }, "node_modules/@discordjs/voice": { - "version": "0.15.0", - "resolved": "https://registry.npmjs.org/@discordjs/voice/-/voice-0.15.0.tgz", - "integrity": "sha512-YEvrRchDhjB0QbI9QYOF/qgDwvGb9sNGUyks5d3Srl+VRoMoKkMzWY+wcEfVbAgdMIAdLi5vyrTKP/gLND26jA==", + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/@discordjs/voice/-/voice-0.16.0.tgz", + "integrity": "sha512-ToGCvHD1cBscuW3p+C7zOF5+L7MJmU4GjdOARfNk9mkHyFFZq4grK+Sxr3QXKbp27DtfDBc9uqD4GUOYgxngfA==", "dependencies": { "@types/ws": "^8.5.4", - "discord-api-types": "^0.37.35", + "discord-api-types": "^0.37.37", "prism-media": "^1.3.5", "tslib": "^2.5.0", - "ws": "^8.12.1" + "ws": "^8.13.0" }, "engines": { "node": ">=16.9.0" @@ -1947,23 +1936,23 @@ "integrity": "sha512-hkhQsQyzsTJITp311WXvHZh9j4RAMfIk2hPmsWeOTN50QTpg6zqmJNfel9D/8lYNvsU01wzw9281Yke8NhYyHg==" }, "node_modules/discord.js": { - "version": "14.8.0", - "resolved": "https://registry.npmjs.org/discord.js/-/discord.js-14.8.0.tgz", - "integrity": "sha512-UOxYtc/YnV7jAJ2gISluJyYeBw4e+j8gWn+IoqG8unaHAVuvZ13DdYN0M1f9fbUgUvSarV798inIrYFtDNDjwQ==", - "dependencies": { - "@discordjs/builders": "^1.5.0", - "@discordjs/collection": "^1.4.0", - "@discordjs/formatters": "^0.2.0", - "@discordjs/rest": "^1.6.0", + "version": "14.9.0", + "resolved": "https://registry.npmjs.org/discord.js/-/discord.js-14.9.0.tgz", + "integrity": "sha512-ygGms5xP4hG+QrrY9k7d/OYCzMltSMtdl/2Snzq/nLCiZo+Sna91Ulv9l0+B5Jd/Czcq37B7wJAnmja7GOa+bg==", + "dependencies": { + "@discordjs/builders": "^1.6.0", + "@discordjs/collection": "^1.5.0", + "@discordjs/formatters": "^0.3.0", + "@discordjs/rest": "^1.7.0", "@discordjs/util": "^0.2.0", "@sapphire/snowflake": "^3.4.0", "@types/ws": "^8.5.4", - "discord-api-types": "^0.37.35", + "discord-api-types": "^0.37.37", "fast-deep-equal": "^3.1.3", "lodash.snakecase": "^4.1.1", "tslib": "^2.5.0", - "undici": "^5.20.0", - "ws": "^8.12.1" + "undici": "^5.21.0", + "ws": "^8.13.0" }, "engines": { "node": ">=16.9.0" @@ -3241,16 +3230,6 @@ "fast-deep-equal": "^3.1.3", "ts-mixer": "^6.0.3", "tslib": "^2.5.0" - }, - "dependencies": { - "@discordjs/formatters": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/@discordjs/formatters/-/formatters-0.3.0.tgz", - "integrity": "sha512-Fc4MomalbP8HMKEMor3qUiboAKDtR7PSBoPjwm7WYghVRwgJlj5WYvUsriLsxeKk8+Qq2oy+HJlGTUkGvX0YnA==", - "requires": { - "discord-api-types": "^0.37.37" - } - } } }, "@discordjs/collection": { @@ -3259,11 +3238,11 @@ "integrity": "sha512-suyVndkEAAWrGxyw/CPGdtXoRRU6AUNkibtnbJevQzpelkJh3Q1gQqWDpqf5i39CnAn5+LrN0YS+cULeEjq2Yw==" }, "@discordjs/formatters": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/@discordjs/formatters/-/formatters-0.2.0.tgz", - "integrity": "sha512-vn4oMSXuMZUm8ITqVOtvE7/fMMISj4cI5oLsR09PEQXHKeKDAMLltG/DWeeIs7Idfy6V8Fk3rn1e69h7NfzuNA==", + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@discordjs/formatters/-/formatters-0.3.0.tgz", + "integrity": "sha512-Fc4MomalbP8HMKEMor3qUiboAKDtR7PSBoPjwm7WYghVRwgJlj5WYvUsriLsxeKk8+Qq2oy+HJlGTUkGvX0YnA==", "requires": { - "discord-api-types": "^0.37.35" + "discord-api-types": "^0.37.37" } }, "@discordjs/node-pre-gyp": { @@ -3312,15 +3291,15 @@ "integrity": "sha512-/8qNbebFzLWKOOg+UV+RB8itp4SmU5jw0tBUD3ifElW6rYNOj1Ku5JaSW7lLl/WgjjxF01l/1uQPCzkwr110vg==" }, "@discordjs/voice": { - "version": "0.15.0", - "resolved": "https://registry.npmjs.org/@discordjs/voice/-/voice-0.15.0.tgz", - "integrity": "sha512-YEvrRchDhjB0QbI9QYOF/qgDwvGb9sNGUyks5d3Srl+VRoMoKkMzWY+wcEfVbAgdMIAdLi5vyrTKP/gLND26jA==", + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/@discordjs/voice/-/voice-0.16.0.tgz", + "integrity": "sha512-ToGCvHD1cBscuW3p+C7zOF5+L7MJmU4GjdOARfNk9mkHyFFZq4grK+Sxr3QXKbp27DtfDBc9uqD4GUOYgxngfA==", "requires": { "@types/ws": "^8.5.4", - "discord-api-types": "^0.37.35", + "discord-api-types": "^0.37.37", "prism-media": "^1.3.5", "tslib": "^2.5.0", - "ws": "^8.12.1" + "ws": "^8.13.0" } }, "@napi-rs/canvas": { @@ -4507,23 +4486,23 @@ "integrity": "sha512-hkhQsQyzsTJITp311WXvHZh9j4RAMfIk2hPmsWeOTN50QTpg6zqmJNfel9D/8lYNvsU01wzw9281Yke8NhYyHg==" }, "discord.js": { - "version": "14.8.0", - "resolved": "https://registry.npmjs.org/discord.js/-/discord.js-14.8.0.tgz", - "integrity": "sha512-UOxYtc/YnV7jAJ2gISluJyYeBw4e+j8gWn+IoqG8unaHAVuvZ13DdYN0M1f9fbUgUvSarV798inIrYFtDNDjwQ==", + "version": "14.9.0", + "resolved": "https://registry.npmjs.org/discord.js/-/discord.js-14.9.0.tgz", + "integrity": "sha512-ygGms5xP4hG+QrrY9k7d/OYCzMltSMtdl/2Snzq/nLCiZo+Sna91Ulv9l0+B5Jd/Czcq37B7wJAnmja7GOa+bg==", "requires": { - "@discordjs/builders": "^1.5.0", - "@discordjs/collection": "^1.4.0", - "@discordjs/formatters": "^0.2.0", - "@discordjs/rest": "^1.6.0", + "@discordjs/builders": "^1.6.0", + "@discordjs/collection": "^1.5.0", + "@discordjs/formatters": "^0.3.0", + "@discordjs/rest": "^1.7.0", "@discordjs/util": "^0.2.0", "@sapphire/snowflake": "^3.4.0", "@types/ws": "^8.5.4", - "discord-api-types": "^0.37.35", + "discord-api-types": "^0.37.37", "fast-deep-equal": "^3.1.3", "lodash.snakecase": "^4.1.1", "tslib": "^2.5.0", - "undici": "^5.20.0", - "ws": "^8.12.1" + "undici": "^5.21.0", + "ws": "^8.13.0" } }, "dotenv": { diff --git a/package.json b/package.json index a00b020c6..8319cce6d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "scradd", - "version": "2.6.4", + "version": "2.6.5", "private": true, "type": "module", "main": "dist/index.js", @@ -14,11 +14,11 @@ "prettier": "@redguy12/prettier-config", "dependencies": { "@discordjs/opus": "0.9.0", - "@discordjs/voice": "0.15.0", + "@discordjs/voice": "0.16.0", "@napi-rs/canvas": "0.1.37", "async-exit-hook": "2.0.1", "difflib": "0.2.4", - "discord.js": "14.8.0", + "discord.js": "14.9.0", "dotenv": "16.0.3", "ffmpeg-static": "5.1.0", "fuse.js": "6.6.2",