From 87a0bec85d9b9d8ea1e9c7057609634ed889f675 Mon Sep 17 00:00:00 2001 From: Parker Date: Mon, 20 Jan 2025 21:29:36 -0600 Subject: Add public_url field for Jellyfin acc. creation --- code/cogs/newaccount.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'code/cogs') diff --git a/code/cogs/newaccount.py b/code/cogs/newaccount.py index 54d53b6..8e17cda 100644 --- a/code/cogs/newaccount.py +++ b/code/cogs/newaccount.py @@ -5,7 +5,7 @@ import sqlite3 from utils.jellyfin_create import create_jellyfin_account from utils.config import ( - JELLYFIN_URL, + JELLYFIN_PUBLIC_URL, JELLYFIN_ENABLED, ACCOUNT_TIME, ) @@ -63,8 +63,8 @@ class NewAccount(commands.Cog): title="Jellyfin Account Information", description=( # fmt: off - "Here is your temporary account information.\n\n" - f"**Server URL:** `{JELLYFIN_URL}`\n" + "Here is your temporary account information.\n\n", + f"**Server URL:** `[{JELLYFIN_PUBLIC_URL}]({JELLYFIN_PUBLIC_URL})`\n" f"**Username:** `{response[0]}`\n" f"**Password:** `{response[1]}`\n\n" "Your account will be automatically deleted in" -- cgit v1.2.3-70-g09d2