From ee258f5e13180cb4e6656581c7af96b30e338850 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sat, 9 May 2020 17:45:17 -0400 Subject: [PATCH] Intents --- Xiao.js | 3 ++- package.json | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) 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" },