mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-24 02:15:10 +02:00
Don't use privileged intents
This commit is contained in:
@@ -8,7 +8,7 @@ const client = new Client({
|
|||||||
owner: OWNERS.split(','),
|
owner: OWNERS.split(','),
|
||||||
invite: INVITE,
|
invite: INVITE,
|
||||||
disableMentions: 'everyone',
|
disableMentions: 'everyone',
|
||||||
ws: { intents: Intents.ALL }
|
ws: { intents: Intents.NON_PRIVILEGED }
|
||||||
});
|
});
|
||||||
const { formatNumber } = require('./util/Util');
|
const { formatNumber } = require('./util/Util');
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user