Skip to main content

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.

Metadata

Release files for filmaster 0.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for filmaster 0.0.7
File Size Uploaded Provenance Actions
filmaster-0.0.7.tar.gz 25.8 kB Without provenance Details for filmaster-0.0.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for filmaster 0.0.7
File Interpreter ABI Platform Actions
filmaster-0.0.7-py3-none-any.whl Python 3 none any Details for filmaster-0.0.7-py3-none-any.whl

Total release size: 52.1 kB

Release files / filmaster-0.0.7.tar.gz

Download URL filmaster-0.0.7.tar.gz
Size 25.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9ca76a7fcbd1d08345ea685dcf3477e87d40dd2e3a1da2c2de48e16ec53e4782
BLAKE2b-256 checksum
How to use checksums
157b86068c49ff0d01329fb2974e759235863a785604975ddf5766702c3ece78
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.3 CPython/3.7.6 Linux/4.19.78-coreos

Release files / filmaster-0.0.7-py3-none-any.whl

Download URL filmaster-0.0.7-py3-none-any.whl
Size 26.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d8cc38a432260d2f8bc89a09424d0ef134bba2e8342ee7e3e6550aa36cc7080f
BLAKE2b-256 checksum
How to use checksums
7e377e20500fb2ebba51b747e6bf6346174aefbec9ad1e2d2c4656d8efe9b52d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.3 CPython/3.7.6 Linux/4.19.78-coreos

Security for filmaster 0.0.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page