{"repo":"Zero6992/chatGPT-discord-bot","free":true,"listed":false,"github":"https://github.com/Zero6992/chatGPT-discord-bot","clone":"git clone https://github.com/Zero6992/chatGPT-discord-bot.git","description":"Integrate ChatGPT into your own discord bot","language":"Python","stars":2731,"topics":["chatgpt","discord-bot","bot","discord"],"license":"GPL-2.0","category":"chat-messaging","readme_excerpt":"ChatGPT Discord Bot ### Build your own Discord bot with multiple AI providers --- [!IMPORTANT] Major Refactor (2025/07): - 5 AI Providers : Free (g4f), OpenAI, Claude, Gemini, Grok - No Cookie Authentication : Removed unreliable cookie-based auth for free providers Chat Setup Prerequisites Python 3.9 or later Rename the file .env.example to .env Running pip3 install -r requirements.txt to install the required dependencies Optional: API keys for premium providers (OpenAI, Claude, Gemini, Grok) --- Step 1: Create a Discord bot 1. Go to https://discord.com/developers/applications create an application 2. Build a Discord bot under the application 3. Get the token from bot setting 4. Store the token to .env under the DISCORD BOT TOKEN 5. Turn MESSAGE CONTENT INTENT ON 6. Invite your bot to your server via OAuth2 URL Generator Step 2: Run the bot on the desktop 1. Open a terminal or command prompt 2. Navigate to the directory where you installed the ChatGPT Discord bot 3. Run python3 main.py or python main.py to run the bot --- Step 2: Run the bot with Docker 1. Build the Docker image & run the Docker container with docker compose up -d 2. Inspect whether the bot works well docker logs -t chatgpt-discord-bot ### Stop the bot: docker ps to see the list of running services docker stop to stop the running bot Have a good chat! --- Provider Configuration Free Provider (unstable) Outdated model, close to GPT-3.5 or GPT-4 capabilities No configuration required Premium Providers (Optional","default_branch":null,"files":null,"tree":[],"storefront":"/r/Zero6992","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Zero6992/chatGPT-discord-bot/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}