fix memberupdate
This commit is contained in:
parent
389d8387ee
commit
3ae97b6f66
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue