14 lines
374 B
TypeScript
14 lines
374 B
TypeScript
|
import { User as DiscordUser } from "discord.js";
|
||
|
import { AuthenticateUserByNameRequest, JellyfinAPI } from "../../jellyfin/api";
|
||
|
import { UserApi } from "../../jellyfin/api/userApi";
|
||
|
import { config } from "../configuration";
|
||
|
|
||
|
export async function add(discordUser: DiscordUser): Promise<any> {
|
||
|
const jfUserAPI: UserApi = new UserApi(config.jellyfin_url)
|
||
|
|
||
|
|
||
|
|
||
|
return
|
||
|
|
||
|
}
|