Python implementation of a discord bot for Flowise queries that supports slash commands
-
Create a
.envfrom the provided.env.exampleand update it accordingly -
Start the docker container using docker-compose:
docker-compose up- All Done.
The following slash-commands can be used in your discord server, developers can always add new ones or create an issue on this repository:
/ask <your question...>Takes in a text question and responds with text/echoResponds with textdelta. This is used for testing purposes during development
All commands are automatically completed, once you start typing /.
Install the python-venv package for virtual environment support:
sudo pacman -Sy python python-venvCreate a virtual environment using the command:
python -m venv .venvActivate the created virtual environment using the command:
source .venv/bin/ActivateInstall the dependencies in your virtual environment:
pip install -r requirements.txt