Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
lenisko committed Apr 10, 2021
1 parent ec77469 commit cc370fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/services/events/guildMemberUpdate.js
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit cc370fd

Please sign in to comment.