Skip to content

airweave-ai/discord-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

discord-bot

The public repository for Airweave's discord bot.

🤖 Airweave Discord Bot

FastAPI Python Docker

A modern, scalable Discord bot built with FastAPI, designed for seamless integration and high performance.


🚀 Overview

Airweave Discord Bot is a cutting-edge solution for integrating Discord interactions using FastAPI. It leverages the latest technologies to ensure scalability, maintainability, and adherence to best practices.


📁 Project Structure

airweave-discord-bot/
├── app/
│   ├── api/                # FastAPI route handlers
│   │   └── interactions.py # Discord interactions endpoint
│   ├── core/               # Core configurations and utilities
│   │   ├── config.py       # Pydantic settings management
│   │   └── verify_signature.py # Request signature verification
│   ├── services/           # Business logic and services
│   │   └── discord_service.py # Discord-related operations
│   ├── models/             # Pydantic models and database schemas
│   │   └── interaction.py  # Interaction data models
│   └── main.py             # Application entry point
├── tests/                  # Test cases
│   ├── __init__.py
│   └── test_interactions.py
├── .env                    # Environment variables
├── .gitignore              # Git ignore file
├── Dockerfile              # Docker configuration
├── docker-compose.yml      # Docker Compose configuration
├── requirements.txt        # Python dependencies
└── README.md               # Project documentation

⚙️ Getting Started

Prerequisites

Installation

  1. Clone the repository:
git clone https://github.com/airweave-ai/airweave-discord-bot.git
cd airweave-discord-bot
  1. Create and activate a virtual environment:
python -m venv venv
source venv/bin/activate
  1. Install Dependencies
pip install -r requirements.txt
  1. Setup .env file
DISCORD_PUBLIC_KEY=your_discord_public_key
DISCORD_BOT_TOKEN=your_discord_bot_token

About

The public repository for Airweave's discord bot.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages