Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Discord bot that scours TMDB for film info

Project description

Film Master

A Discord bot written with Snips NLU that posts film info via the TMDB API.

Setup

Create a Discord app for the bot and invite it to your server.

Generate a TMDB API key for the bot.

Install the package and run the bot:

$ pip install filmaster
$ filmaster -d "DISCORD_TOKEN" -t "TMDB_API_KEY"

Or, you can use the Docker image:

$ docker pull registry.gitlab.com/observeroftime/filmaster:latest
$ docker run filmaster -d "DISCORD_TOKEN" -t "TMDB_API_KEY"

In both cases, the bot command requires these parameters:

  • DISCORD_TOKEN: The bot token of the app you created earlier.
  • TMDB_API_KEY: The TMDB API key you generated earlier.

You may also pass the following options:

  • -p PREFIX: Sets the command prefix of the bot. (defaults to $)
  • -v: Increases the verbosity of the logs. Can be passed up to 4 times.

Examples

Greetings

greeting

Help

help

Film info

info-1

info-2

director

actor

Film cast

cast-1

cast-2

Goodbye

goodbye

License

The examples are released to the public domain under CC0.

The logo was designed by @ZoyPan98 and licensed under CC BY-NC-SA 4.0.

The Academic Free License version 3.0 applies to everything else.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for filmaster, version 0.0.7
Filename, size File type Python version Upload date Hashes
Filename, size filmaster-0.0.7-py3-none-any.whl (26.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size filmaster-0.0.7.tar.gz (25.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page