This is a simple discord bot that was implemented with Python 3.8. The bot helps you with thirsty needs by providing you recipes for cocktails. It also allows you to search for cocktails by ingredients or name.
- Go to discord developer portal.
- Create a new application.
- Under the "Bot" tab on the left create a new bot.
- Go to the "OAuth2" tab on the left.
- Select bot from the "Scopes" options and select at least "Send Messages", "Manage Messages" and "Read Message History" permissions.
- Copy the URL that was generated for you, paste it into your browser, and select your server from the dropdown options. The bot should now be added.
- Clone the project and open it in your IDEA.
git clone https://github.com/LuciferUchiha/BartenderBot.git
- Install the dependencies by running
pip install -r requirements.txt
in the project root. - Create a
.env
file and add DISCORD_TOKEN= replacing with your bot token from the discord developer portal. On a new line also add DISCORD_GUILD= replacing with your server name.
The following words are correct keywords (<KW>): $bt, bartender and god
The following values are equivalent:
cocktails <=> -c
ingredients <=> -i
Will return any cocktail if it contains the search criteria. Multiple search criteria can be used by separating them with a space.
<KW> find cocktails <search criteria1> <search criteria2> ...
Will return any ingredients if it contains the search criteria. Multiple search criteria can be used by separating them with a space.
<KW> find ingredients <search criteria1> <search criteria2> ...
<KW> cocktails
<KW> ingredients
<KW> categories
<KW> list <category>
<KW> count cocktails
<KW> count ingredients
Will return all cocktails that contain passed ingredients. Multiple ingredients can be used by separating them with a space.
<KW> with <ingredient> <ingredient2> ...
<KW> recipe <cocktail>
Distributed under the MIT License. See LICENSE.md
for more information.
If you wish to contribute, see CONTRIBUTING.md
for more information.