fix memberupdate

This commit is contained in:
mightypanders 2023-05-04 23:38:34 +02:00
parent 389d8387ee
commit 3ae97b6f66
1 changed files with 0 additions and 5 deletions

View File

@ -1,7 +1,6 @@
import { Collection, GuildMember } from "discord.js"
import { filterRolesFromMemberUpdate } from "../helper/roleFilter"
import { ChangedRoles, PermissionLevel } from "../interfaces"
import ar from "date-fns/locale/ar"
import { jellyfinHandler } from "../.."
export const name = 'guildMemberUpdate'
@ -20,11 +19,7 @@ export async function execute(oldMember: GuildMember, newMember: GuildMember) {
if (removedRoleMatches) {
jellyfinHandler.removeUser(newMember)
}
})
} catch (error) {
console.error(error)
}