Skip to main content

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.

Source Distribution

filmaster-0.0.7.tar.gz (25.8 kB view hashes)

Uploaded Source

Built Distribution

filmaster-0.0.7-py3-none-any.whl (26.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page