From 8ec7a1b9372a48f1c2a3151dbc357c5113061509 Mon Sep 17 00:00:00 2001 From: AnxietyisReal <96593068+AnxietyisReal@users.noreply.github.com> Date: Mon, 13 Mar 2023 09:04:32 +1100 Subject: [PATCH] Update Discord.JS to 14.8 --- package.json | 8 ++++---- src/client.ts | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 85c7593..a5dc558 100644 --- a/package.json +++ b/package.json @@ -20,22 +20,22 @@ "!ia32" ], "engines": { - "node": ">=17.0.0" + "node": ">=18.12.0" }, "dependencies": { "axios": "1.3.2", "canvas": "2.11.0", - "discord.js": "14.7.1", + "discord.js": "14.8.0", "moment": "2.29.4", "ms": "2.1.3", - "mongoose": "7.0.0", + "mongoose": "7.0.1", "systeminformation": "5.17.12", "@octokit/rest": "19.0.7", "typescript": "4.9.5", "xml-js": "1.6.11" }, "devDependencies": { - "@types/node": "18.14.6", + "@types/node": "18.15.0", "ts-node": "10.9.1" } } diff --git a/src/client.ts b/src/client.ts index 9384436..a762a1f 100644 --- a/src/client.ts +++ b/src/client.ts @@ -53,7 +53,7 @@ export default class TClient extends Client { super({ intents: [ GatewayIntentBits.Guilds, GatewayIntentBits.GuildMembers, - GatewayIntentBits.GuildBans, GatewayIntentBits.GuildInvites, + GatewayIntentBits.GuildModeration, GatewayIntentBits.GuildInvites, GatewayIntentBits.GuildPresences, GatewayIntentBits.MessageContent, GatewayIntentBits.GuildMessages ], partials: [