From cc370fd17a7a161876fcd7322d73af52e6b3f6e7 Mon Sep 17 00:00:00 2001 From: len <10072920+lenisko@users.noreply.github.com> Date: Sat, 10 Apr 2021 11:28:49 +0200 Subject: [PATCH] lint --- src/services/events/guildMemberUpdate.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/services/events/guildMemberUpdate.js b/src/services/events/guildMemberUpdate.js index ff146b88..1512161e 100644 --- a/src/services/events/guildMemberUpdate.js +++ b/src/services/events/guildMemberUpdate.js @@ -10,8 +10,8 @@ module.exports = async (client, oldPresence, newPresence) => { .keyArray(); const perms = [...new Set( Object.values(client.config.discord.perms) - .map(x => x.roles) - .flat() + .map(x => x.roles) + .flat() )]; const roleDiff = rolesBefore .filter(x => !rolesAfter.includes(x))