diff --git a/server/events/guildMemberUpdate.ts b/server/events/guildMemberUpdate.ts index af23d50..7820d70 100644 --- a/server/events/guildMemberUpdate.ts +++ b/server/events/guildMemberUpdate.ts @@ -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) }