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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file filmaster-0.0.7.tar.gz.

File metadata

  • Download URL: filmaster-0.0.7.tar.gz
  • Upload date:
  • Size: 25.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.3 CPython/3.7.6 Linux/4.19.78-coreos

File hashes

Hashes for filmaster-0.0.7.tar.gz
Algorithm Hash digest
SHA256 9ca76a7fcbd1d08345ea685dcf3477e87d40dd2e3a1da2c2de48e16ec53e4782
MD5 0c9da187a7316207b574ba41dbb767e9
BLAKE2b-256 157b86068c49ff0d01329fb2974e759235863a785604975ddf5766702c3ece78

See more details on using hashes here.

File details

Details for the file filmaster-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: filmaster-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 26.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.3 CPython/3.7.6 Linux/4.19.78-coreos

File hashes

Hashes for filmaster-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 d8cc38a432260d2f8bc89a09424d0ef134bba2e8342ee7e3e6550aa36cc7080f
MD5 676ae64a77c35519b9c587a1ecd5a7c8
BLAKE2b-256 7e377e20500fb2ebba51b747e6bf6346174aefbec9ad1e2d2c4656d8efe9b52d

See more details on using hashes here.

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