readme
This commit is contained in:
parent
f7454edb98
commit
d7a0068c05
@ -9,7 +9,5 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN mv .env.example .env
|
|
||||||
|
|
||||||
CMD python bot.py
|
CMD python bot.py
|
||||||
|
|
||||||
|
|||||||
8
README.md
Normal file
8
README.md
Normal 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
1
bot.py
@ -23,7 +23,6 @@ class JellyfinBot(commands.Bot):
|
|||||||
super().__init__(command_prefix="/", intents=intents)
|
super().__init__(command_prefix="/", intents=intents)
|
||||||
|
|
||||||
async def setup_hook(self):
|
async def setup_hook(self):
|
||||||
# self.tree.copy_global_to()
|
|
||||||
await self.tree.sync()
|
await self.tree.sync()
|
||||||
|
|
||||||
bot = JellyfinBot()
|
bot = JellyfinBot()
|
||||||
|
|||||||
9
compose.yaml
Normal file
9
compose.yaml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
services:
|
||||||
|
jellyfinbot:
|
||||||
|
build: .
|
||||||
|
container_name: jellyfinbot
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
- JELLYFIN_URL=
|
||||||
|
- JELLYFIN_API_KEY=
|
||||||
|
- JELLYFIN_USER_ID=
|
||||||
Loading…
x
Reference in New Issue
Block a user