Skip to content

Discord bot that tracks multiple Letterboxd lists and periodically updates a channel with their statuses.

License

Notifications You must be signed in to change notification settings

LukeSchmitt96/movie-bet-bot

Repository files navigation

Movie Bet Bot

CI Status

CI pre-commit Coverage

Installation

  1. Install Poetry

Linux, macOS, Windows (WSL)

$ curl -sSL https://install.python-poetry.org | python3 -

Windows (Powershell)

$ (Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | py -
  1. Clone repo
$ git clone https://github.com/LukeSchmitt96/movie-bet-bot.git
  1. Install project with Poetry
$ poetry install --with test,dev
  1. Seed bot's database
contests:
- members:
  - contest_url: https://letterboxd.com/PROFILE/list/LIST_NAME/detail/
    list:
      films: []
      url: https://letterboxd.com/PROFILE/list/LIST_NAME/detail/
    name: NAME
    profile_url: https://letterboxd.com/PROFILE/
    watchtime: 0
  - contest_url: https://letterboxd.com/NAME/list/LIST_NAME/detail/
    list:
      films: []
      url: https://letterboxd.com/PROFILE/list/LIST_NAME/detail/
    name: NAME
    profile_url: https://letterboxd.com/PROFILE/
    watchtime: 0

  ...

  name: CONTEST_NAME
  1. Configure bot's <project_root>/.env file. See the example environment file for a template.
DB_PATH="..."
DISCORD_TOKEN="..."
DISCORD_CHANNEL_ID="..."
TMDB_API_KEY="..."
  1. (Optional) Run tests, pre-commit hooks
$ poetry run task test
$ poetry run task pre-commit
  1. Run bot
$ poetry run task start

About

Discord bot that tracks multiple Letterboxd lists and periodically updates a channel with their statuses.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages