Skip to content

Toti91/discord-plex-bot

Repository files navigation

discord-plex-bot

A Discord bot that uses Radarr and Sonarr to request movies / tv-shows on your Plex server.

Features:

  • Add series or movies
  • Let's you know when the media is available on your Plex server
  • Let's Plex admin know if the media was not added
  • Pin's ports on the server and let's admin know if they don't respond.

Example

image

Start bot

yarn start

To run this you will need to have these files in the /src folder

config.json

{
  "prefix": "!",
  "token": "Your Discord bot token",
  "ownerId": "Bot owner Discord user id (string)",
  "plex": {
    "adminId": "Plex admin Discord user id (string)",
    "roleId": "Discord role id (string)",
    "channelId": "Discord channel id (string)",
    "requestChannelId": "Discord request-channel id (string)",
    "baseUrl": "Base IP address of server e.g. xx.xx.xx.xx",
    "clientPort": 32400,
    "clientToken": "Plex server auth token",
    "trueNasUrl": "api/v2.0",
    "trueNasToken": "TrueNAS auth token",
    "trueNasPort": 80,
    "radarrPort": 7878,
    "radarrToken": "Radarr api key",
    "sonarrPort": 8989,
    "sonarrToken": "Sonarr api key",
    "movieFolderKey": "Your movie folder key",
    "seriesFolderKey": "Your series folder key"
  }
}

settings.json

 {
  "shouldPing": true,
  "users": {}
 }

media_queue.json (empty array)

  []

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published