{"id":20982703,"url":"https://github.com/codemage66/discordbot","last_synced_at":"2026-04-21T22:31:38.288Z","repository":{"id":235739330,"uuid":"791127957","full_name":"codemage66/Discordbot","owner":"codemage66","description":"A discord bot for interact with ChatGPT","archived":false,"fork":false,"pushed_at":"2024-04-24T06:39:07.000Z","size":1332,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-13T10:34:12.242Z","etag":null,"topics":["bot","chatbot","chatgpt","chatgpt-whatsapp-bot","discord","discord-bot","gpt-3"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codemage66.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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,"publiccode":null,"codemeta":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":"mrloldev","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2024-04-24T06:32:57.000Z","updated_at":"2024-04-24T11:25:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"0edc98d2-afc4-4c8a-a75d-13aed3091539","html_url":"https://github.com/codemage66/Discordbot","commit_stats":null,"previous_names":["codemage66/discordbot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codemage66/Discordbot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemage66%2FDiscordbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemage66%2FDiscordbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemage66%2FDiscordbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemage66%2FDiscordbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codemage66","download_url":"https://codeload.github.com/codemage66/Discordbot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemage66%2FDiscordbot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32112906,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T11:25:29.218Z","status":"ssl_error","status_checked_at":"2026-04-21T11:25:28.499Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["bot","chatbot","chatgpt","chatgpt-whatsapp-bot","discord","discord-bot","gpt-3"],"created_at":"2024-11-19T05:46:24.612Z","updated_at":"2026-04-21T22:31:38.243Z","avatar_url":"https://github.com/codemage66.png","language":"TypeScript","funding_links":["https://ko-fi.com/mrloldev","https://ko-fi.com/U7U5H70V5"],"categories":[],"sub_categories":[],"readme":"# chatgpt-bot\n\nA discord bot for interact with ChatGPT\n[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/U7U5H70V5)\n\n## Setup Guide\n\n1. Clone repository\n\n```bash\n    git clone https://github.com/MrlolDev/chatgpt-discord-bot.git\n```\n\n2. Create supabase project\n\n3. Create supabase tables\n\nTable: accounts\nFields (name, dataType): (id,uuid), (created_at, timestamp), (email, text), (password, text), (abled, boolean), (totalMessages, numeric), (lastUse, numeric), (key, text)\nIn this table it is only required the key(open ai key), abled(true), messages(0) and id property(random UUID).\n\nTable: chatsonic\nFields (name, dataType): (id,uuid), (created_at, timestamp), (key, text)\n\nTable: conversations\nFields (name, dataType): (id,uuid), (created_at, timestamp), (account, uuid, foreign key points to Account) , (conversation, jsonb), (lastMessage, numeric), (userId, text)\n\nTable: cooldown\nFields (name, dataType): (id,uuid), (created_at, timestamp), (userId, text), (command, text)\n\nTable: results\nFields (name, dataType): (id,uuid), (created_at, timestamp), (prompt, text), (provider, text), (result, jsonb), (uses, numeric), (guildId, text)\n\n4. Upload open ai accounts\n\n5. Install dependencies\n\n```\nnpm install\n```\n\n6. Create .env\n\n```env\nTOKEN=Your discord bot token https://discord.dev\nCLIENT_ID=Your discord bot id https://discord.dev\nSUPABASE_KEY=Your supabase service role key https://app.supabase.com\nSUPABASE_URL=Your supabase project url https://app.supabase.com\n```\n\n7. Run the bot\n\n```\nnpm start\n```\n\n8. Running with auto reload(development mode)\n\n```\nnpm run dev\n```\n\n9. Updating code with changes.\n\n```\nnpm run git\n```\n\n## TO DO:\n\n- [ ] Embeds --\u003e Future\n- [ ] Top.gg rewards --\u003e Future\n- [ ] Uptime Robot alerts --\u003e Future\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodemage66%2Fdiscordbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodemage66%2Fdiscordbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodemage66%2Fdiscordbot/lists"}