A simple discord bot for recommending anime
A simple discord bot for recommending anime
uses a simple content based recommender system
This bot is as a learning project, to learn about:
This discord bot is made in python and requires python 3.6+
you can install python Here
along with python the discord bot uses a few other additional packages
First clone or download the source from GitHub
To use the Recommender-Bot you need to sign in to Discord Devloper Portal
and create a bot application
add the created bot to a server usinghttps://discordapp.com/oauth2/authorize?client_id={YOUR CLIENT ID}&scope=bot&permissions=0
after this you should recieve a token for your bot add this token to your environment variable:
cd
mv ~/.bash_profile ~/.bash_profile.backup
nano .bash_profile
export DISCORD_TOKEN={Your Discord token}
If you require any further assistance with this please check out @himanshuagarwal1395/setting-up-environment-variables-in-macos-sierra-f5978369b255">This article
If you require any further assistance with this please check out This article
Unfortunetly I do not have much experience with a Linux based systems 🙁
Now its finally time to run the bot
Open up terminal or command prompt (on windows)
navigate to the directory where you saved the source for the bot
run the “Bot.py script” using Python3 Bot.py
On MacOS
python Bot.py
On Windows
After everything is ready you should see a “ready” message printed to the terminal or command prompt
Command | description | Parameters |
---|---|---|
>recommend [genre] |
Recommends a random anime of the given genre | genre : string |
>genres |
Sends a List of all available genres in the Database | None. |
>search [anime] |
Searches for the given anime | anime : string |
>similar [anime] |
Shows the 5 most similar anime to the given anime | anime : string |
>random |
Gets a random anime from the Database | None. |
Feel free to contribute to this project any contribution is very welcome and contributions are highly appreciated
Todo: