1.0.4
This commit is contained in:
2
.env
2
.env
@@ -1,7 +1,7 @@
|
||||
# Discord
|
||||
DISCORD_TOKEN=your_discord_bot_token
|
||||
PREFIX=!
|
||||
GUILD_ID=123456789012345678
|
||||
GUILD_ID=123456789012345678,123456789012345678
|
||||
ADMIN_ROLE_IDS=111111111111111111,222222222222222222
|
||||
REQUIRED_ROLE_IDS=333333333333333333,444444444444444444
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
# 1.0.4
|
||||
|
||||
- Multi-Guild support (As long as a user has a required role or admin role in one server, they are able to use the bot and Jellyfin)
|
||||
- Fixed link command instructions not updating based on Jellyseerr availability
|
||||
|
||||
# 1.0.3
|
||||
|
||||
|
||||
8
app.py
8
app.py
@@ -913,6 +913,11 @@ async def help_command(ctx):
|
||||
|
||||
# Admin commands
|
||||
if is_admin:
|
||||
# Dynamic link command line
|
||||
link_command = f"`{PREFIX}link <jellyfin_username> @user` - Manually link accounts"
|
||||
if JELLYSEERR_ENABLED:
|
||||
link_command = f"`{PREFIX}link <jellyfin_username> @user <Jellyseerr ID>` - Manually link accounts with Jellyseerr"
|
||||
|
||||
embed.add_field(name="Admin Commands", value=(
|
||||
f"`{PREFIX}cleanup` - Remove Jellyfin accounts from users without roles\n"
|
||||
f"`{PREFIX}listvalidusers` - Show number of valid and invalid accounts\n"
|
||||
@@ -920,9 +925,10 @@ async def help_command(ctx):
|
||||
f"`{PREFIX}searchaccount <jellyfin_username>` - Find linked Discord user\n"
|
||||
f"`{PREFIX}searchdiscord @user` - Find linked Jellyfin account\n"
|
||||
f"`{PREFIX}scanlibraries` - Scan all Jellyfin libraries\n"
|
||||
f"`{PREFIX}link <jellyfin_username> @user` - Manually link accounts\n"
|
||||
f"{link_command}\n"
|
||||
f"`{PREFIX}unlink @user` - Manually unlink accounts\n"
|
||||
), inline=False)
|
||||
|
||||
embed.add_field(name="Admin Bot Commands", value=(
|
||||
f"`{PREFIX}setprefix` - Change the bot's command prefix\n"
|
||||
f"`{PREFIX}updates` - Manually check for bot updates\n"
|
||||
|
||||
Reference in New Issue
Block a user