Go CLI tool for ChatGPT Discord bot
Top 91.9% on sourcepulse
This project provides a self-hosted Discord bot that allows users to interact with OpenAI's ChatGPT directly within Discord servers or private messages. It's designed for users who want a dedicated, integrated ChatGPT experience in their Discord communities without relying on third-party integrations.
How It Works
The bot is a single, statically compiled Go binary. Upon execution, it prompts the user to configure their Discord bot token and optionally their Discord username via an .env
file. For authentication with OpenAI, it defaults to launching a browser session to capture a session token. Alternatively, users can manually extract and provide the __Secure-next-auth.session-token
cookie via a JSON configuration file for headless or automated setups.
Quick Start & Requirements
.env
file with your Discord bot token and optionally your Discord username../chatgpt-discord
.Highlighted Details
Maintenance & Community
The project is maintained by m1guelpf. No specific community channels or roadmap details are provided in the README.
Licensing & Compatibility
Limitations & Caveats
The default browser-based authentication method may not work in all environments, necessitating manual session token extraction. The README does not specify version requirements for Go or Discord API compatibility.
2 years ago
1 day