Skip to content

joshrmcdaniel/overseerr-requests-bot

Repository files navigation

Overseerr Requests bot

discord bot for managing requests in overseerr. partly abandoned, only updating stuff breaks (for me) or i need a new feature

This is a WIP. Functionality is not complete, and error handling is not properly set Current features

  • Searching overseerr and requesting from an item

Known issues

  • Pagination is not implemented, will error out after 20 results.
  • View code could be better

TODO

  • add requests embed
  • error handling
  • add better logging on the api module (better-ish)
  • Replace the view mess with pages and page groups (or something better)

Usage

  • clone project
  • create a .env with the following:
GUILD_ID=12345667.. # discord server bot resides in
DISCORD_TOKEN=bot-token # discord bot token
OVERSEERR_URL=http://your.overseerr.url # url of your overseerr instance
OVERSEERR_USER=overseerrrbot  # use your own creds. i created a service bot, admin accounts will have their requests auto approved
OVERSEERR_PASS=overrseerrpass # use your own creds. i created a service bot, admin accounts will have their requests auto approved
OVERSEERR_API_KEY=overseerr-api-key # replace with yours

#LOG_LEVEL is another env var, but unless debugging its not needed

i use the user pass and api key for refreshing credentials; gets annoying to restart the prog every week

  • assuming youre running on a remote instance, either run the python program in tmux and detach or utilize the systemd file (instructions found in the systemd file)

About

Discord bot to interact with Overseerr

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages