{"id":18235834,"url":"https://github.com/codewithdark-git/discord-bot","last_synced_at":"2026-05-04T05:35:40.237Z","repository":{"id":234703984,"uuid":"789392956","full_name":"codewithdark-git/discord-bot","owner":"codewithdark-git","description":"This Discord bot uses Google Generative AI and Replicate AI to generate text and images based on user prompts.","archived":false,"fork":false,"pushed_at":"2024-05-08T11:05:18.000Z","size":43,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-14T11:33:04.866Z","etag":null,"topics":["bot","discord","discord-bot","gemini-api","generative-ai","generative-model","google-api","pypi","python","replicate","replicate-api"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codewithdark-git.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,"publiccode":null,"codemeta":null}},"created_at":"2024-04-20T12:22:26.000Z","updated_at":"2024-05-08T11:05:22.000Z","dependencies_parsed_at":"2024-05-08T12:26:52.678Z","dependency_job_id":"b1361b9f-0eb9-49e7-8ba1-e503ff7149ae","html_url":"https://github.com/codewithdark-git/discord-bot","commit_stats":null,"previous_names":["codewithdark-git/discord-bot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithdark-git%2Fdiscord-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithdark-git%2Fdiscord-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithdark-git%2Fdiscord-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithdark-git%2Fdiscord-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codewithdark-git","download_url":"https://codeload.github.com/codewithdark-git/discord-bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247867365,"owners_count":21009240,"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":["bot","discord","discord-bot","gemini-api","generative-ai","generative-model","google-api","pypi","python","replicate","replicate-api"],"created_at":"2024-11-05T00:22:38.315Z","updated_at":"2026-05-04T05:35:40.200Z","avatar_url":"https://github.com/codewithdark-git.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n# Discord AI Bot\n\nThis Discord bot uses Google Generative AI and Replicate AI to generate text and images based on user prompts.\n\n## Setup\n\n1. Clone this repository to your local machine.\n2. Install the required dependencies by running:\n   ```\n   pip install -r requirements.txt\n   ```\n3. Create a `.env` file in the project directory and add your Discord bot token and Google API key:\n   ```\n   DISCORD_TOKEN=your_discord_token_here\n   GOOGLE_API_KEY=your_google_api_key_here\n   ```\n4. Run the bot script:\n   ```\n   python bot.py\n   ```\n\n## Usage\n\n### Text Generation\n\nTo generate text, use the `/chat` command followed by your prompt. For example:\n```\n/chat Tell me a joke.\n```\n\n### Image Generation\n\nTo generate images, use the `/image` command followed by your prompt. For example:\n```\n/image Landscape with mountains and rivers.\n```\n\n## Dependencies\n\n- discord.py: Python wrapper for the Discord API.\n- dotenv: Library for loading environment variables from a `.env` file.\n- replicate: Python package for interacting with the Replicate AI API.\n- google.generativeai: Python package for interacting with the Google Generative AI API.\n\n## Credits\n\n- [Discord.py](https://github.com/Rapptz/discord.py)\n- [dotenv](https://github.com/theskumar/python-dotenv)\n- [Replicate AI](https://replicate.ai/)\n- [Google Generative AI](https://github.com/google-research/google-research/tree/master/generative_aim)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewithdark-git%2Fdiscord-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodewithdark-git%2Fdiscord-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewithdark-git%2Fdiscord-bot/lists"}