star-3gg / flowise-discord-bot

Implementation of a discord bot for flowise queries that supports slash commands

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flowise API Client Discord Bot

Python implementation of a discord bot for Flowise queries that supports slash commands

For Users that want to Make Use of this Bot

Installation

  1. Create a .env from the provided .env.example and update it accordingly

  2. Start the docker container using docker-compose:

docker-compose up
  1. All Done.

Usage

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
  • /echo Responds with text delta. This is used for testing purposes during development

All commands are automatically completed, once you start typing /.

For Developers

Virtual environment

Install the python-venv package for virtual environment support:

sudo pacman -Sy python python-venv

Create a virtual environment using the command:

python -m venv .venv

Activate the created virtual environment using the command:

source .venv/bin/Activate

Install the dependencies in your virtual environment:

pip install -r requirements.txt

About

Implementation of a discord bot for flowise queries that supports slash commands

License:GNU General Public License v3.0


Languages

Language:Python 100.0%