openai/gpt-discord-bot
Example Discord bot written in Python that uses the completions API to have conversations with the `text-davinci-003` model, and the moderations API to filter the messages. observed · 2026-08-28
Health v2 · maintenance only
31/100
- Activity 0
- Release rhythm 35
- Longevity 96
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 1351
- days_rel: n/a
- days_push: 817
- n_releases_24m: 0
Adoption not part of the score
1825 stars · 636 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
An example Discord bot written in Python that uses the OpenAI chat completions API to hold conversations with the gpt-3.5-turbo model and the moderations API to filter messages. It is a template/reference implementation maintained for bug fixes only, not accepting new features.
Use cases
- add a gpt chatbot to my discord server
- discord bot that talks with openai api
- example code for building a discord bot with chatgpt
- moderate discord messages with openai moderation api
- run a chat thread bot on discord with configurable instructions
When to choose
- you want a working reference for wiring discord.py to the OpenAI chat API
- you need thread-based conversations with message history passed to the model
- you want built-in moderation filtering of user messages
When to avoid
- you need new features or active development - the repo only accepts bug fixes
- you want a production-ready, highly customizable chatbot framework
- you use models or APIs beyond what the template supports
Facets
application · maturity maintenance
chatbot llm-inference agent-framework chatbots large-language-models artificial-intelligence messaging-platforms python self-hosted discord-bot openai-api gpt-3.5-turbo moderation example-code thread-based-chat discord
1 source
- readme: https://github.com/openai/gpt-discord-bot · fetched 2026-08-28 · 624a5d631eba
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| openai/gpt-discord-bot | main | 31 |
For agents
markdown · JSON · MCP: product_card(name="openai/gpt-discord-bot")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem