disable intent

This commit is contained in:
Erik 2022-05-11 15:45:05 +03:00
parent d9bed73805
commit 4e2ae7344c
Signed by: Navy.gif
GPG Key ID: 811EC0CD80E7E5FB
2 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@
"132777808362471424" "132777808362471424"
], ],
"clientOptions": { "clientOptions": {
"commentedOut": ["REACTION","MESSAGE","USER"], "commentedOut": ["GUILD_PRESENCES","REACTION","MESSAGE","USER"],
"partials": [ "partials": [
"CHANNEL" "CHANNEL"
], ],
@ -17,7 +17,7 @@
"GUILD_VOICE_STATES", "GUILD_VOICE_STATES",
"GUILD_WEBHOOKS", "GUILD_WEBHOOKS",
"GUILD_BANS", "GUILD_BANS",
"GUILD_PRESENCES",
"GUILD_MESSAGE_REACTIONS", "GUILD_MESSAGE_REACTIONS",
"DIRECT_MESSAGES" "DIRECT_MESSAGES"
], ],

View File

@ -41,7 +41,7 @@ class UtilityHook extends Observer {
await this.client.storageManager.mongodb.role_cache.updateOne({ await this.client.storageManager.mongodb.role_cache.updateOne({
member: member.id, guild: guild.id member: member.id, guild: guild.id
}, { }, {
roles: storeThese, timestamp: Math.floor(Date.now() / 1000) roles: storeThese, timestamp: Date.now()
}); });
} }