mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Intents
This commit is contained in:
@@ -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');
|
||||
|
||||
|
||||
+2
-2
@@ -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"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user