Compare commits
15 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f11e1997fd | |||
| 54099b85c1 | |||
| e4757805ae | |||
| 97dc1dcb98 | |||
| 61dc5db6d0 | |||
|
|
fdc6df373d | ||
| 42b10a813f | |||
| bae9a5b967 | |||
| b1d050cb3c | |||
| ce076824a2 | |||
| 8fe3d2e5d1 | |||
| e0bbbd02f5 | |||
| d80746cd61 | |||
| f6197c144a | |||
| 2481ba778b |
@@ -1,49 +1,68 @@
|
|||||||
# Discord
|
# Jellycord version 1.1.0
|
||||||
|
|
||||||
|
# |Discord|
|
||||||
DISCORD_TOKEN=your_discord_bot_token
|
DISCORD_TOKEN=your_discord_bot_token
|
||||||
PREFIX=!
|
PREFIX=!
|
||||||
GUILD_ID=123456789012345678,123456789012345678
|
GUILD_IDS=123456789012345678,123456789012345678
|
||||||
ADMIN_ROLE_IDS=111111111111111111,222222222222222222
|
ADMIN_ROLE_IDS=111111111111111111,222222222222222222
|
||||||
REQUIRED_ROLE_IDS=333333333333333333,444444444444444444
|
REQUIRED_ROLE_IDS=333333333333333333,444444444444444444
|
||||||
|
|
||||||
# Jellyfin
|
# |Jellyfin|
|
||||||
JELLYFIN_URL=http://127.0.0.1:8096
|
JELLYFIN_URL=http://127.0.0.1:8096
|
||||||
JELLYFIN_API_KEY=your_jellyfin_api_key
|
JELLYFIN_API_KEY=your_jellyfin_api_key
|
||||||
ENABLE_TRIAL_ACCOUNTS=false
|
ENABLE_TRIAL_ACCOUNTS=false
|
||||||
|
TRIAL_TIME=24 # In hours
|
||||||
|
|
||||||
# Jellyseerr
|
# |Jellyseerr|
|
||||||
JELLYSEERR_ENABLED=false
|
JELLYSEERR_ENABLED=false
|
||||||
JELLYSEERR_URL=http://localhost:5055
|
JELLYSEERR_URL=http://localhost:5055
|
||||||
JELLYSEERR_API_KEY=your_api_key_here
|
JELLYSEERR_API_KEY=your_api_key_here
|
||||||
|
|
||||||
# JFA-Go
|
# |JFA-Go|
|
||||||
ENABLE_JFA=false
|
ENABLE_JFA=false
|
||||||
JFA_URL=http://localhost:8056
|
JFA_URL=http://localhost:8056
|
||||||
JFA_USERNAME=yourusername
|
JFA_USERNAME=yourusername
|
||||||
JFA_PASSWORD=yourpassword
|
JFA_PASSWORD=yourpassword
|
||||||
JFA_API_KEY=your_api_key_here
|
JFA_API_KEY=your_api_key_here
|
||||||
|
JFA_TOKEN=
|
||||||
|
|
||||||
# QBittorrent
|
# |Servarr|
|
||||||
|
RADARR_URL=http://your-radarr-ip:7878
|
||||||
|
RADARR_API_KEY=yourradarrapikey
|
||||||
|
ENABLE_RADARR=false
|
||||||
|
|
||||||
|
SONARR_URL=http://your-sonarr-ip:8989
|
||||||
|
SONARR_API_KEY=yoursonarrapikey
|
||||||
|
ENABLE_SONARR=false
|
||||||
|
|
||||||
|
# |QBittorrent|
|
||||||
ENABLE_QBITTORRENT=false
|
ENABLE_QBITTORRENT=false
|
||||||
QBIT_HOST=http://localhost:8080
|
QBIT_HOST=http://localhost:8080
|
||||||
QBIT_USERNAME=your_username
|
QBIT_USERNAME=your_username
|
||||||
QBIT_PASSWORD=your_password
|
QBIT_PASSWORD=your_password
|
||||||
|
|
||||||
# Proxmox
|
# |Proxmox|
|
||||||
ENABLE_PROXMOX=false
|
ENABLE_PROXMOX=false
|
||||||
PROXMOX_HOST=https://your-proxmox-server:8006
|
PROXMOX_HOST=https://your-proxmox-server:8006
|
||||||
PROXMOX_TOKEN_NAME=root@pam!yourtokenname
|
PROXMOX_TOKEN_NAME=root@pam!yourtokenname
|
||||||
PROXMOX_TOKEN_VALUE=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
|
PROXMOX_TOKEN_VALUE=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
|
||||||
PROXMOX_VERIFY_SSL=false
|
PROXMOX_VERIFY_SSL=false
|
||||||
|
PROXMOX_NODE=pve1
|
||||||
|
PROXMOX_VM_ID=
|
||||||
|
# Proxmox type can be "qemu" for VM, "lxc" for container
|
||||||
|
PROXMOX_TYPE=
|
||||||
|
|
||||||
# MySQL
|
# |MySQL|
|
||||||
DB_HOST=localhost
|
DB_HOST=localhost
|
||||||
DB_USER=root
|
DB_USER=root
|
||||||
DB_PASSWORD=password
|
DB_PASSWORD=password
|
||||||
DB_NAME=jellyfin_bot
|
DB_NAME=jellyfin_bot
|
||||||
|
|
||||||
# Time Settings
|
# |General Settings|
|
||||||
TIMEZONE=America/Chicago
|
TIMEZONE=America/Chicago
|
||||||
|
# Tracking only reports limited information about your instance for development reasons. (Tracking enabled Instance & Enabled Features)
|
||||||
|
TRACKING_ENABLED=true
|
||||||
|
|
||||||
# Logs
|
# |Logs|
|
||||||
SYNC_LOG_CHANNEL_ID=555555555555555555
|
SYNC_LOG_CHANNEL_ID=555555555555555555
|
||||||
EVENT_LOGGING=false
|
EVENT_LOGGING=false
|
||||||
20
CHANGELOG.md
20
CHANGELOG.md
@@ -1,3 +1,23 @@
|
|||||||
|
# 1.1.0
|
||||||
|
|
||||||
|
- The bot now sends limited info stats to a public frontend for development insight. (Reports enabled features and bot instance only | Jellyseerr, Proxmox, JFA, qBittorrent)
|
||||||
|
- Radarr & Sonarr Support
|
||||||
|
|
||||||
|
# 1.0.9
|
||||||
|
|
||||||
|
- You can now configure trial account duration
|
||||||
|
- Reformatted link command
|
||||||
|
- Added Updating via command
|
||||||
|
- Added Backup command
|
||||||
|
- Added restore command
|
||||||
|
|
||||||
|
# 1.0.8
|
||||||
|
|
||||||
|
- Fixed update message
|
||||||
|
- Added changelog command
|
||||||
|
- Fixed schedule loop for Jfa being enabled when JFA support is disabled
|
||||||
|
- Added metrics tracking for a Jellyfin container/vm in proxmox
|
||||||
|
|
||||||
# 1.0.7
|
# 1.0.7
|
||||||
|
|
||||||
- Fixed JFA-GO API keys expiring. The bot now schedules a key refresh
|
- Fixed JFA-GO API keys expiring. The bot now schedules a key refresh
|
||||||
|
|||||||
46
README.md
46
README.md
@@ -1,6 +1,13 @@
|
|||||||
# Jellycord
|
# Jellycord
|
||||||
|
|
||||||

|

|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
[](https://discord.gg/EdPJAhrDq8)
|
[](https://discord.gg/EdPJAhrDq8)
|
||||||

|

|
||||||
@@ -13,7 +20,24 @@ This is a very simple and lightweight Jellyfin Discord bot for managing users. I
|
|||||||
|
|
||||||
Fill out values in the .env and you're good to go!
|
Fill out values in the .env and you're good to go!
|
||||||
|
|
||||||
## Features
|
# 🛑 Disclaimer (Please Read) 🛑
|
||||||
|
|
||||||
|
This bot collects limited amounts of information, it is enabled by default and can be disabled in your environment file. Information Collected is limited to:
|
||||||
|
|
||||||
|
- Bot Instances
|
||||||
|
- Enabled Features
|
||||||
|
|
||||||
|
We do **not** and will **never** collect nor store:
|
||||||
|
|
||||||
|
- IP Address's.
|
||||||
|
- System Information.
|
||||||
|
- Information about Jellyfin or any related services.
|
||||||
|
|
||||||
|
## Why do we do this?
|
||||||
|
|
||||||
|
Adding these simply allows me to see what features users are interested in, allowing me to focus on improving/fixing highly used features.
|
||||||
|
|
||||||
|
# Features
|
||||||
|
|
||||||
- Automatic Account Cleanup
|
- Automatic Account Cleanup
|
||||||
- Creating Accounts
|
- Creating Accounts
|
||||||
@@ -24,7 +48,7 @@ Fill out values in the .env and you're good to go!
|
|||||||
- Change bot prefix live
|
- Change bot prefix live
|
||||||
- Checks for new releases
|
- Checks for new releases
|
||||||
|
|
||||||
## Command Overview
|
# Command Overview
|
||||||
|
|
||||||
**Pinging the bot will show you the necessary commands to create your account.**
|
**Pinging the bot will show you the necessary commands to create your account.**
|
||||||
|
|
||||||
@@ -45,6 +69,7 @@ Fill out values in the .env and you're good to go!
|
|||||||

|

|
||||||
|
|
||||||
***🎬 User Commands***
|
***🎬 User Commands***
|
||||||
|
|
||||||
- `!createaccount` <username> <password> - Create your Jellyfin account
|
- `!createaccount` <username> <password> - Create your Jellyfin account
|
||||||
- `!recoveraccount` <username> <newpassword> - Reset your password
|
- `!recoveraccount` <username> <newpassword> - Reset your password
|
||||||
- `!deleteaccount` <username> - Delete your Jellyfin account
|
- `!deleteaccount` <username> - Delete your Jellyfin account
|
||||||
@@ -54,9 +79,10 @@ Fill out values in the .env and you're good to go!
|
|||||||
- `!help` - Displays help command
|
- `!help` - Displays help command
|
||||||
|
|
||||||
***🛠️ Admin Commands***
|
***🛠️ Admin Commands***
|
||||||
- `!link` <jellyfin_username> @user - Manually link accounts
|
|
||||||
|
- `!link` @user <jellyfin_username> - Manually link accounts
|
||||||
- `!unlink` @user - Manually unlink accounts
|
- `!unlink` @user - Manually unlink accounts
|
||||||
- `!listvalidusers` - Show number of valid and invalid accounts
|
- `!validusers` - Show number of valid and invalid accounts
|
||||||
- `!cleanup` - Remove Jellyfin accounts from users without roles
|
- `!cleanup` - Remove Jellyfin accounts from users without roles
|
||||||
- `!lastcleanup` - See Last cleanup time, and time remaining before next cleanup
|
- `!lastcleanup` - See Last cleanup time, and time remaining before next cleanup
|
||||||
- `!searchaccount` <jellyfin_username> - Find linked Discord user
|
- `!searchaccount` <jellyfin_username> - Find linked Discord user
|
||||||
@@ -65,10 +91,13 @@ Fill out values in the .env and you're good to go!
|
|||||||
- `!activestreams` - View all Active Jellyfin streams
|
- `!activestreams` - View all Active Jellyfin streams
|
||||||
|
|
||||||
***💾 qBittorrent Commands***
|
***💾 qBittorrent Commands***
|
||||||
|
|
||||||
- `!qbview` - View current qBittorrent downloads
|
- `!qbview` - View current qBittorrent downloads
|
||||||
|
|
||||||
***🗳️ Proxmox Commands***
|
***🗳️ Proxmox Commands***
|
||||||
|
|
||||||
- `!storage` - Show available storage pools and free space
|
- `!storage` - Show available storage pools and free space
|
||||||
|
- `!metrics` - Show Jellyfin container metrics
|
||||||
|
|
||||||
***🔑 JFA Commands***
|
***🔑 JFA Commands***
|
||||||
|
|
||||||
@@ -78,6 +107,13 @@ Fill out values in the .env and you're good to go!
|
|||||||
- `!refreshjfakey` - Refreshes the JFA API Key Forcefully
|
- `!refreshjfakey` - Refreshes the JFA API Key Forcefully
|
||||||
|
|
||||||
***⚙️ Admin Bot Commands***
|
***⚙️ Admin Bot Commands***
|
||||||
|
|
||||||
- `!setprefix` - Change the bots command prefix
|
- `!setprefix` - Change the bots command prefix
|
||||||
- `!updates` - Manually check for bot updates
|
- `!stats` - View Local and Global Jellycord Stats
|
||||||
|
- `!update` - Download latest bot version
|
||||||
|
- `!backup` - Create a backup of the bot and configurations
|
||||||
|
- `!backups` - List backups of the bot
|
||||||
|
- `!restore` - Restore a backup of the bot
|
||||||
|
- `!version` - Manually check for bot updates
|
||||||
|
- `!changelog` - View changelog for current bot version
|
||||||
- `!logging` - Enable/Disable Console Event Logging
|
- `!logging` - Enable/Disable Console Event Logging
|
||||||
@@ -1,6 +1,7 @@
|
|||||||
- **Future Features**
|
- **Future Features**
|
||||||
|
|
||||||
- Servarr Support
|
- Servarr Support
|
||||||
|
- Make Jellyfin admins exempt from account cleanup
|
||||||
|
|
||||||
- **To Do**
|
- **To Do**
|
||||||
|
|
||||||
|
|||||||
@@ -6,3 +6,5 @@ pytz==2025.2
|
|||||||
apscheduler==3.11.0
|
apscheduler==3.11.0
|
||||||
qbittorrent-api==2025.7.0
|
qbittorrent-api==2025.7.0
|
||||||
proxmoxer==2.2.0
|
proxmoxer==2.2.0
|
||||||
|
pymysql==1.1.2
|
||||||
|
psutil==7.1.3
|
||||||
@@ -1 +1 @@
|
|||||||
{ "version": "1.0.7" }
|
{ "version": "1.0.9" }
|
||||||
@@ -1 +1 @@
|
|||||||
1.0.7
|
1.0.9
|
||||||
Reference in New Issue
Block a user