temp remove addUser wrapper function
This commit is contained in:
parent
f18357351c
commit
b17d0144df
@ -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
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user