This WhatsApp bot provides movies and tv series information to users
Feature | Description |
---|---|
Movie Info | Get details about a specific movie, including its cast, genres and more. |
TV Series Info | Retrieve information about TV series. |
Posters | Get movie and tv series posters. |
Once the bot is running and configured with your WhatsApp account, you can interact with it using the following commands
Get movie details
.mv moviename .y year
-
.y
is optional you can use this command without yearExamples
.mv avengers
.mv jumanji .y 2017
Get tv series details
.tv moviename .y year
-
.y
is optional you can use this command without yearExamples
.tv game of thrones
.tv the boys .y 2019
Get posters
img
- When you receive movie details using the above commands, you can send the
img
command as a reply to get posters
git clone https://github.com/hirushaph/tvinfo
cd tvinfo
yarn install
-
Rename
.env.sample
to.env
and update following values -
Get TMDB Access token from here - TMDB token
-
Get OMDB Api Key from here - OMDB key
OMDB Api Key
is optional, this api use to get IMDb, Rotten Tomatoes Ratings
-
Create Mongodb Atlas FREE Database instance and add database connection url to
MONGODB_URL
field. MongoDB Atlas FREE -
/** * .env * example env file * fill all this fields with correct values **/ TMDB_ACCESS_TOKEN= OMDB_KEY= // Currently bot only support mongodb database MONGODB_URI=
-
If needed, you can also change values in config.js to alter the bot's behavior.
- Baileys Whatsapp API
Contributions are welcome! If you have any bug reports, or improvements, feel free to open an issue or create a pull request.