diff --git a/options.json b/options.json index 7b1554b..f798272 100644 --- a/options.json +++ b/options.json @@ -6,7 +6,7 @@ "132777808362471424" ], "clientOptions": { - "commentedOut": ["REACTION","MESSAGE","USER"], + "commentedOut": ["GUILD_PRESENCES","REACTION","MESSAGE","USER"], "partials": [ "CHANNEL" ], @@ -17,7 +17,7 @@ "GUILD_VOICE_STATES", "GUILD_WEBHOOKS", "GUILD_BANS", - "GUILD_PRESENCES", + "GUILD_MESSAGE_REACTIONS", "DIRECT_MESSAGES" ], diff --git a/src/structure/components/observers/UtilityHook.js b/src/structure/components/observers/UtilityHook.js index ce3e15f..627422d 100644 --- a/src/structure/components/observers/UtilityHook.js +++ b/src/structure/components/observers/UtilityHook.js @@ -41,7 +41,7 @@ class UtilityHook extends Observer { await this.client.storageManager.mongodb.role_cache.updateOne({ member: member.id, guild: guild.id }, { - roles: storeThese, timestamp: Math.floor(Date.now() / 1000) + roles: storeThese, timestamp: Date.now() }); }