My own Discord bot, named after the sarcastic robot from the movie Interstellar, created to explore movies on the internet, in addition to allowing me to put my knowledge in Python into practice.
$ git clone https://github.com/rodolfo-brandao/tars.git
$ cd tars
This bot requires 2 packages to run:
These can be installed through the requirements.txt
file by running the following pip command:
$ pip install -r requirements.txt
After installing the packages, simply run the bot with:
$ python3 src/main.py
The bot command prefix is the character ?
-
?info
Lists all bot commands and what they do. -
?ping
Shows the current bot latency in milliseconds. -
?search <movie_name> | <imdb_code>
Searches for movie occurences based on the name or IMDb code.
I have little knowledge about Python, the intention of creating a project like this was motivated by learning more about the language. So don't expect to find the best organization, patterns or conventions here.