tvBot is a discord bot that uses TMDb API and allows you to search for and fetch info about movies, tv shows, actors right from your discord servers.
I am not working on it anymore.
If you are an experienced python programmer then there's really nothing for you here, it is all beginner level code as it is my first ever program. But if you are also new to this like me, feel free to use it however you want.
-
Install necessary dependencies, you'll need requests and discord.py.
- To install requests, use this command in command prompt -
pip install requests
- To install discord.py -
pip install discord.py
- If you bump into an error, see this page.
- To install requests, use this command in command prompt -
-
Fork and clone this repository or just download (prefer this) it into your computer.
-
Make an account and get an API key from TMDb.
-
Create your bot on discord, get its 'token' and invite in into your test server. Click here for help.
-
Create a text file name 'token_key.txt' in the same folder where 'main.py' is, and copy paste your bot token in first line and your TMDb API key in second line and save the file. (the order is important.)
-
That's it, you're good to go. I'm reachable on discord as Sam Cooper#9490.