temp remove addUser wrapper function

This commit is contained in:
mightypanders 2023-04-18 23:45:09 +02:00
parent f18357351c
commit b17d0144df
1 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,7 @@ import { User as DiscordUser } from "discord.js";
import { JellyfinHandler } from "../../jellyfin/handler"; import { JellyfinHandler } from "../../jellyfin/handler";
import { logger } from "../logger"; import { logger } from "../logger";
/*
export async function addUser(discordUser: DiscordUser, jf: JellyfinHandler, guildId: string, requestId: string): Promise<any> { export async function addUser(discordUser: DiscordUser, jf: JellyfinHandler, guildId: string, requestId: string): Promise<any> {
if (!jf.isUserAlreadyPresent(discordUser, guildId, requestId)) { if (!jf.isUserAlreadyPresent(discordUser, guildId, requestId)) {
logger.info(`User ${discordUser.username} is already registered on ${jf.ServerName}`) logger.info(`User ${discordUser.username} is already registered on ${jf.ServerName}`)
@ -13,3 +14,4 @@ export async function addUser(discordUser: DiscordUser, jf: JellyfinHandler, gui
} }
return return
} }
*/