Recipe Bot is a Discord Bot created by @TylerJenningsW and @MichaelLillis using Python, Firebase for database handling, and Nextcord as a Discord API wrapper.
NOTE: This project is meant to be a learning experience, as both authors had limited knowledge of Python and Firebase going into the project.
Run the following commands in terminal/command prompt:
pip install pyrebase
pip install pyrebase4
pip install nextcord
pip install python-dotenv
Change the following rules in your firebase realtime database:
{
"rules": {
".read": true,
".write": true,
"Recipes":{
".indexOn":["Recipe","Ingredients","Instructions","Date created","Author"]
}
}
}
• Insert your discord bot token and your server id into the .env
• Follow the Firebase documentation to setup your database config for the database.py
• Replace the firebase config in the database.py file with yours
• Run main.py
Recipe bot is very simple to use! There are only a few basic commands you'll need to know.
/Recipe add
/Recipe find [user or recipe name]
/Recipe all
/Recipe delete [name]