Bot Discord vous permettant de lire votre contenu musical Plex sur Discord. Tout comme Rythm. La configuration se fait dans un document .yaml...
Go to file
Joshua Arulsamy d48188870e 🔊 Major changes to logging systems
Discord bot and plex operations are now logged seperatly.
2020-08-09 00:28:14 -06:00
PlexBot 🔊 Major changes to logging systems 2020-08-09 00:28:14 -06:00
.flake8 Initial commit 2020-07-22 16:17:16 -06:00
.gitignore 🙈 Deployment script 2020-08-08 17:18:11 -06:00
.pre-commit-config.yaml Initial commit 2020-07-22 16:17:16 -06:00
docker-compose.yml More improvements 2020-08-04 17:20:13 -06:00
Dockerfile Massive docker image size reduction 2020-08-09 00:25:09 -06:00
Jenkinsfile 🐛 Add appropiate steps for docker build 2020-08-08 18:30:12 -06:00
LICENSE Initial commit 2020-07-22 16:17:16 -06:00
pyproject.toml Initial commit 2020-07-22 16:17:16 -06:00
README.md 📝 Add docs 2020-08-04 04:18:28 -06:00
requirements.txt Remove unused dependency 2020-08-09 00:25:36 -06:00
sample-config.yaml 🔊 Major changes to logging systems 2020-08-09 00:28:14 -06:00

Plex-Bot

A Python-based Plex music bot for discord.

Setup

Plex-Bot runs entirely in a Docker container. Ensure you have Docker and docker-compose installed according to the official Docker documentation.

  1. Clone the repository and cd into it:
$ git clone https://github.com/jarulsamy/Plex-Bot
$ cd Plex-Bot
  1. Create a configuration folder:

Create a new config folder and copy the sample config file into it:

$ mkdir config
$ cp sample-config.yaml config/config.yaml
  1. Create a Discord bot application:

    1. Go to the Discord developer portal, here.

    2. Log in or create an account

    3. Click New App

    4. Fill in App Name and anything else you'd like to include

    5. Click Create App This will provide you with your Client ID and Client Secret

    6. Click Create Bot User This will provide you with your bot Username and Token

    7. Fill in all the necessary numbers in config/config.yaml

  2. Get your plex token:

    Refer to the official plex documentation.

    Add it to config/config.yaml in the appropiate spot.

  3. Start the service:

$ docker-compose up --build

Usage

General:
  kill - Stop the bot.
Plex:
  np - View currently playing song.
  pause - Pause currently playing song.
  play - Play a song from the Plex library.
  resume - Resume a paused song.
  skip - Skip a song.
  stop - Stop playing.
No Category:
  help   Shows this message

Type ?help command for more info on a command.
You can also type ?help category for more info on a category.

Support

Reach out to me at one of the following places!