This commit is contained in:
Jonathan Jara 2025-04-18 15:10:48 -07:00
parent f7454edb98
commit d7a0068c05
4 changed files with 17 additions and 3 deletions

View File

@ -9,7 +9,5 @@ RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN mv .env.example .env
CMD python bot.py

8
README.md Normal file
View File

@ -0,0 +1,8 @@
# 🎵 Jellyfin Discord Bot
A Discord bot that plays music directly from your **Jellyfin** media server, using slash commands and voice channel support!
## 🚀 Features
- `/play [title]` — Plays the first matching song from your Jellyfin library in your current voice channel.
- `/search [title]` — Lists the top 5 matches for a song query from Jellyfin.

1
bot.py
View File

@ -23,7 +23,6 @@ class JellyfinBot(commands.Bot):
super().__init__(command_prefix="/", intents=intents)
async def setup_hook(self):
# self.tree.copy_global_to()
await self.tree.sync()
bot = JellyfinBot()

9
compose.yaml Normal file
View File

@ -0,0 +1,9 @@
services:
jellyfinbot:
build: .
container_name: jellyfinbot
restart: unless-stopped
environment:
- JELLYFIN_URL=
- JELLYFIN_API_KEY=
- JELLYFIN_USER_ID=