diff --git a/server/handler/addUserAccount.ts b/server/handler/addUserAccount.ts deleted file mode 100644 index 2c1003c..0000000 --- a/server/handler/addUserAccount.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { User as DiscordUser } from "discord.js"; -import { JellyfinHandler } from "../../jellyfin/handler"; -import { logger } from "../logger"; - -/* -export async function addUser(discordUser: DiscordUser, jf: JellyfinHandler, guildId: string, requestId: string): Promise { - if (!jf.isUserAlreadyPresent(discordUser, guildId, requestId)) { - logger.info(`User ${discordUser.username} is already registered on ${jf.ServerName}`) - return - } - const jfUserAccount = await jf.createUserAccountForDiscordUser(discordUser, guildId, requestId) - if (jfUserAccount) { - await jf.addPermissionsToUserAccount(jfUserAccount,guildId,requestId) - } - return -} -*/