diff --git a/Xiao.js b/Xiao.js index 56a1d60e..39d4761f 100644 --- a/Xiao.js +++ b/Xiao.js @@ -1,13 +1,14 @@ require('dotenv').config(); const { XIAO_TOKEN, OWNERS, XIAO_PREFIX, INVITE } = process.env; const path = require('path'); +const { Intents } = require('discord.js'); const Client = require('./structures/Client'); const client = new Client({ commandPrefix: XIAO_PREFIX, owner: OWNERS.split(','), invite: INVITE, disableMentions: 'everyone', - disabledEvents: ['TYPING_START'] + ws: { intents: Intents.ALL } }); const { formatNumber } = require('./util/Util'); diff --git a/package.json b/package.json index e18dad9d..84806206 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "114.8.5", + "version": "114.8.6", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": { @@ -59,7 +59,7 @@ "utf-8-validate": "^5.0.2" }, "devDependencies": { - "eslint": "^6.8.0", + "eslint": "^7.0.0", "eslint-config-amber": "^2.0.3", "eslint-plugin-json": "^2.1.1" },