This is just a personal bot, meaning it only serves one user at a time, so feel free to use it for yourself.
Currently it supports following sources:
Just set your MyAnimeList profile with the
!setProfile command and you're good to go. For more information on the other commands, you can use
!help or check the table below.
Set up Discord application:
PRESENCE INTENTat the
Privileged Gateway Intentssection
OAuth2 URL Generatorsection under the
OAuth2tab to add it to your server
Set up Postgresql database
sudo -i -u postgres $ createuser <USER> -P --interactive $ createdb naotomori
Also export the configuration as:
export DATABASE_URL="dbname='naotomori' user=<DB_USER> host='localhost' password=<DB_PASSWORD>"
Set up bot (make sure you are using python3.7 or greater):
pip install -r requirements.txt export DISCORD_CLIENT_TOKEN=<TOKEN> python main.py
Alternatively, you can use Heroku to host the discord bot for free. There are already config files in this repository, so the deployment should be easy:
Run all unit tests:
python -m unittest -v