GPTDiscord

A robust, all-in-one GPT interface for Discord. ChatGPT-style conversations, image generation, AI-moderation, custom indexes/knowledgebase, youtube summarizer,

What is GPTDiscord?

A robust, all-in-one GPT interface for Discord. ChatGPT-style conversations, image generation, AI-moderation, custom indexes/knowledgebase, youtube summarizer, and more!

Overview of GPTDiscord

What it is

GPTDiscord is an open-source Discord bot that provides a comprehensive interface to OpenAI's APIs. It supports chat conversations, image generation, transcription, moderation, and web search, all within Discord. The bot is written in Python and supports versions 3.11 through 3.13. It is designed to be a single, all-in-one solution for integrating OpenAI capabilities into a Discord server. The project is licensed under the MIT license and is available on GitHub.

Key features

  • /gpt ask and /gpt converse use current Chat Completions models, including vision and reasoning models.
  • /web uses the Responses API with native web search and visible source links for recent information.
  • /dalle draw generates images with the current GPT Image API, sending image bytes as Discord attachments.
  • Transcription and moderation use current OpenAI APIs.
  • Optional integrations include document indexing, internet chat, Qdrant/Pinecone memory, Replicate, and E2B code execution.
  • Role-based access control with BOT_ACCESS_ROLE_IDS and per-feature role settings.

Use cases

GPTDiscord can be used for a variety of purposes within a Discord server. It can serve as a conversational AI assistant for general questions, creative writing, or brainstorming. It can generate images based on text prompts. It can transcribe audio files and moderate content. The optional document indexing feature allows users to ask questions about uploaded documents. The web search feature enables the bot to retrieve current information from the internet.

Getting started

bash git clone https://github.com/Kav-K/GPTDiscord.git cd GPTDiscord python3.13 -m venv .venv source .venv/bin/activate # Windows: .venv/Scripts/activate python -m pip install --upgrade pip python -m pip install . cp sample.env .env # Edit .env with your credentials and Discord server ID. python gpt3discord.py

License and pricing

The project is licensed under the MIT license. Pricing is not stated in the README or metadata beyond the license type. The bot itself is free and open-source, but usage of OpenAI APIs incurs costs based on OpenAI's pricing.

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/kav-kgptdiscord.svg)](https://yunodb.com/tools/kav-kgptdiscord?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/kav-kgptdiscord?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/kav-kgptdiscord.svg" alt="Featured on YunoDB" height="20"></a>