diff --git a/app/services/gamebridge/GameBridge.ts b/app/services/gamebridge/GameBridge.ts index ef8ea083..51d4cf53 100644 --- a/app/services/gamebridge/GameBridge.ts +++ b/app/services/gamebridge/GameBridge.ts @@ -98,7 +98,7 @@ export default class GameBridge extends Service { bridge: this, serverConfig: servers.find(s => s.id === id) as GameServerConfig, })); - server.discord.on("ready", client => { + server.discord.on("ready", () => { server.changeIcon( "https://gitlab.com/metastruct/branding/-/raw/master/icons/seagull_resonite.png?&inline=true" ); diff --git a/package.json b/package.json index 8d307a6c..3d5ac611 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "cookie-parser": "^1.4.6", "dayjs": "^1.10.6", "diff": "^5.1.0", - "discord.js": "^14.17.0", + "discord.js": "^14.17.2", "dotenv": "^16.0.2", "express": "^4.17.1", "express-rate-limit": "^6.7.0", diff --git a/yarn.lock b/yarn.lock index cd8a30e1..ccc5c304 100644 --- a/yarn.lock +++ b/yarn.lock @@ -97,6 +97,21 @@ tslib "^2.6.3" undici "6.19.8" +"@discordjs/rest@^2.4.2": + version "2.4.2" + resolved "https://registry.yarnpkg.com/@discordjs/rest/-/rest-2.4.2.tgz#8c18c717cd81521d6f886a33e2dd7a454be97e41" + integrity sha512-9bOvXYLQd5IBg/kKGuEFq3cstVxAMJ6wMxO2U3wjrgO+lHv8oNCT+BBRpuzVQh7BoXKvk/gpajceGvQUiRoJ8g== + dependencies: + "@discordjs/collection" "^2.1.1" + "@discordjs/util" "^1.1.1" + "@sapphire/async-queue" "^1.5.3" + "@sapphire/snowflake" "^3.5.3" + "@vladfrangu/async_event_emitter" "^2.4.6" + discord-api-types "^0.37.114" + magic-bytes.js "^1.10.0" + tslib "^2.6.3" + undici "6.19.8" + "@discordjs/util@^1.1.0": version "1.1.0" resolved "https://registry.yarnpkg.com/@discordjs/util/-/util-1.1.0.tgz#dcffd2b61aab8eadd66bea67811bc34fc769bb2a" @@ -1593,15 +1608,15 @@ discord-api-types@^0.37.114: resolved "https://registry.yarnpkg.com/discord-api-types/-/discord-api-types-0.37.114.tgz#50ad3d436e0c80a93fcc59a6eb140eb0a8673b19" integrity sha512-9b9oOpktWSmE6ooToc46wfw151SHC/+idmnZvtwpEzW85BijUspQxj4W2uOmo+nZVTdEyb3fku58k+4rHKpdSQ== -discord.js@^14.17.0: - version "14.17.0" - resolved "https://registry.yarnpkg.com/discord.js/-/discord.js-14.17.0.tgz#ca68149d3d658f82032a0d45b6a7aec0cf9e28db" - integrity sha512-bK6oee/RBZF/LCPnR4afECsJV5voUVmfDmOHAMJSJeDeR42EkVyZJN3QVp1Uo0c3/OG0Z6vQVveY4+tFaMO4og== +discord.js@^14.17.2: + version "14.17.2" + resolved "https://registry.yarnpkg.com/discord.js/-/discord.js-14.17.2.tgz#036ab36aa985969bc78cc97abc50f6e01949c391" + integrity sha512-mrH6ziLVtNtId4bV4bsaUt5jE6NUaiHMPqO5VsSw1VVhFnjFi9duD8ctlo90/6cUH+8uyKBkoq9mSJ35SuuZ7Q== dependencies: "@discordjs/builders" "^1.10.0" "@discordjs/collection" "1.5.3" "@discordjs/formatters" "^0.6.0" - "@discordjs/rest" "^2.4.1" + "@discordjs/rest" "^2.4.2" "@discordjs/util" "^1.1.1" "@discordjs/ws" "^1.2.0" "@sapphire/snowflake" "3.5.3"