diff options
author | Parker <contact@pkrm.dev> | 2025-01-20 21:29:36 -0600 |
---|---|---|
committer | Parker <contact@pkrm.dev> | 2025-01-20 21:29:36 -0600 |
commit | 87a0bec85d9b9d8ea1e9c7057609634ed889f675 (patch) | |
tree | 66b23c7ce9ae0d9db0913ecae01cf8cd9a223b2e /code/cogs | |
parent | a7a9a329840dd42089146d3ee5d258ad5fc9ec4e (diff) |
Add public_url field for Jellyfin acc. creation
Diffstat (limited to 'code/cogs')
-rw-r--r-- | code/cogs/newaccount.py | 6 |
1 files changed, 3 insertions, 3 deletions
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" |