Skip to content

Latest commit

 

History

History
25 lines (13 loc) · 1.04 KB

README.md

File metadata and controls

25 lines (13 loc) · 1.04 KB

IMDb Discord Bot

A discord bot that retrieves IMDb data for movies/series/games using the OMDb (Open Movie Database) API.

Instructions

  1. Create a discord app, add a bot to your app, and get your bot token.

  2. Get an OMDb API key

  3. Replace the contents of the .env file in this repository with your bot token and api key. DISCORD_BOT_TOKEN=<YOUR TOKEN>, OMDB_API_KEY=<YOUR KEY>

  4. Run npm i to install dependencies.

  5. Run npm start to start the bot (or npm run dev to start with nodemon.)

  6. Add the bot to your discord server, and use !imdb info <title> to fetch data about a specific title, or !imdb search <query> to fetch a list of titles for that query. eg: !imdb info westworld, !imdb search game of thrones.

Examples

!imdb info for all mankind

!imdb info the dark knight

!imdb search westworld