Skip to content

locmaymo/Discord-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord-Bot

A Discord bot system that integrates with ProxyAI-Tavern.

Features

  • Image generation with multiple AI models
  • Member verification system
  • Docker containerized deployment
  • Rate limiting for image generation

Installation

  1. Clone the repository:
git clone https://github.com/locmaymo/Discord-Bot.git
  1. Navigate to the project directory:
cd Discord-Bot
  1. Create a virtual environment and install dependencies:
python -m venv venv
source venv/bin/activate  # Linux/Mac
# or
.\venv\Scripts\activate  # Windows
pip install -r bot-image/requirements.txt
pip install -r bot-SillyTavern/requirements.txt

Configuration

  1. Copy .env.example to .env and update with your tokens:
BOT_PROXYAI_ARTIST=your_bot_token_1
BOT_SILLYTAVERN=your_bot_token_2
CLOUDFLARE_ACCOUNT_ID=your_cloudflare_id
CLOUDFLARE_API_TOKEN=your_cloudflare_token

Usage

Using Docker:

docker-compose up

Or run individually:

python bot-image/ProxyAI-Artist.py
python bot-SillyTavern/SillyTavern.py

License

This project is licensed under the MIT License.