{"id":13910634,"url":"https://github.com/xxxbrian/Discord-ChatGPT-Bot","last_synced_at":"2025-07-18T09:32:15.778Z","repository":{"id":108147273,"uuid":"575240375","full_name":"xxxbrian/Discord-ChatGPT-Bot","owner":"xxxbrian","description":"Run a ChatGPT Bot in Discord with Docker","archived":true,"fork":false,"pushed_at":"2022-12-12T12:24:37.000Z","size":29,"stargazers_count":38,"open_issues_count":1,"forks_count":15,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-08-08T00:43:50.969Z","etag":null,"topics":["chatgpt","discord-bot","docker-image"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xxxbrian.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-12-07T04:01:32.000Z","updated_at":"2023-10-10T05:54:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"a8a618af-1708-459c-a8bf-07075ba0dcc9","html_url":"https://github.com/xxxbrian/Discord-ChatGPT-Bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xxxbrian%2FDiscord-ChatGPT-Bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xxxbrian%2FDiscord-ChatGPT-Bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xxxbrian%2FDiscord-ChatGPT-Bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xxxbrian%2FDiscord-ChatGPT-Bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xxxbrian","download_url":"https://codeload.github.com/xxxbrian/Discord-ChatGPT-Bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226388676,"owners_count":17617316,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chatgpt","discord-bot","docker-image"],"created_at":"2024-08-07T00:01:39.453Z","updated_at":"2024-11-25T19:31:28.715Z","avatar_url":"https://github.com/xxxbrian.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Discord ChatGPT Bot\n\n[![Base Docker Image CI](https://github.com/xxxbrian/Discord-ChatGPT-Bot/actions/workflows/base-image.yml/badge.svg)](https://github.com/xxxbrian/Discord-ChatGPT-Bot/actions/workflows/base-image.yml) [![Docker Image CI](https://github.com/xxxbrian/Discord-ChatGPT-Bot/actions/workflows/docker-image.yml/badge.svg)](https://github.com/xxxbrian/Discord-ChatGPT-Bot/actions/workflows/docker-image.yml)\n\nA **Discord bot** based on **ChatGPT** with support for opening multiple different conversation sessions in channels and DM, each Channel and DM having a separate contextual conversation.\n\n\n\n#### Usage:\n\n**Slash Commands:**\n\n- `/start`: Start a new conversation thread, each thread is a separate conversation.\n- `/chat` `[message]`: Chat the bot with `[message]`, remembers what user said earlier in the conversation.\n- `/end`: End the conversation thread, the bot will forget what user said earlier in the conversation.\n\n\n\n#### Install:\n\n**With git clone:**\n\n```bash\n# Install dependencies\npip install -r requirements.txt\n\n# Set environment variables\nexport DISCORD_TOKEN=\"YOUR_TOKEN\"\nexport OPENAI_EMAIL=\"YOUR_EMAIL\"\nexport OPENAI_PASSWORD=\"YOUR_PASSWORD\"\n\n# Run\npython src/dcbot.py\n```\n\n**With docker:**\n\n```bash\ndocker run -d --name=Discord-ChatGPT-Bot --restart=unless-stopped \\\n-e DISCORD_TOKEN=\"YOUR_TOKEN\" \\\n-e OPENAI_EMAIL=\"YOUR_EMAIL\" \\\n-e OPENAI_PASSWORD=\"YOUR_PASSWORD\" \\\nxxxbrian/discord_chatgpt_bot:latest\n```\n\n\n\n#### Dependencies:\n\n- [OpenAI](https://chat.openai.com/)\n- [rawandahmad698/PyChatGPT](https://github.com/rawandahmad698/PyChatGPT)\n- [Rapptz/discord.py](https://github.com/Rapptz/discord.py)\n\n\n\n#### TODO:\n\n- [x] Slash command\n- [ ] Support retry\n- [ ] Display mode\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxxxbrian%2FDiscord-ChatGPT-Bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxxxbrian%2FDiscord-ChatGPT-Bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxxxbrian%2FDiscord-ChatGPT-Bot/lists"}