This is a Discord bot that allows users to search for movies and retrieve detailed information about them using the TMDB API.
- Movie Search Command: Users can search for movies using
!movie <movie name>
. - Dropdown Selection: Users can select specific movies from a dropdown after searching, allowing for precise movie selection.
- Detailed Movie Embed: Displays comprehensive movie details in an embed:
- Title
- Overview
- User Score
- Genres
- Budget
- Revenue
- Movie Poster (positioned at the top right)
- Action Buttons:
- Watch Trailer: Button that links to the movie trailer on YouTube.
- View on IMDb: Button that directs users to the movie’s IMDb page.
- Pagination: Plans to implement a pagination system to allow users to navigate through multiple movie selections.
- Advanced Search Options: Future feature to add popup input for enhanced movie search capabilities.
- Install Dependencies: Make sure to install the required Node.js packages by running
npm install
in the project directory. - Set Up Environment Variables: Ensure you have your Discord bot token and TMDB API key configured in your environment variables.
- Run the Bot: Start the bot using
node index.js
.
-
Clone the repository:
git clone https://github.com/s8rr/Movie-Fetching-Discord-Bot.git cd Movie-Fetching-Discord-Bot
After adding all the files, commit your changes and push to GitHub:
git add .
git commit -m "Initial commit"
git push origin main