{"id":25315680,"url":"https://github.com/spark-engine-ai/ai-discord-bot","last_synced_at":"2026-02-23T09:38:56.324Z","repository":{"id":277384358,"uuid":"932262397","full_name":"spark-engine-ai/ai-discord-bot","owner":"spark-engine-ai","description":"An AI powered Discord bot that chats, can search the web and generate both images and videos. Uses Llama 3.3, Minimax Video-01, DALL-E 3 and Spark Engine. No-code setup","archived":false,"fork":false,"pushed_at":"2025-02-24T21:35:41.000Z","size":1700,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-12T05:02:11.687Z","etag":null,"topics":["ai","ai-agents","bot","chatbot","dalle-3","discord","generative-ai","image-generation","llama","llama3","minimax","multi-agent-systems","openai","spark-engine","stable-diffusion","video-generation","web-search"],"latest_commit_sha":null,"homepage":"https://ai-discord-bot-theta.vercel.app","language":"JavaScript","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/spark-engine-ai.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,"zenodo":null}},"created_at":"2025-02-13T16:24:56.000Z","updated_at":"2025-04-01T10:47:20.000Z","dependencies_parsed_at":"2025-04-07T15:56:57.867Z","dependency_job_id":null,"html_url":"https://github.com/spark-engine-ai/ai-discord-bot","commit_stats":null,"previous_names":["spark-engine-ai/ai-discord-bot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/spark-engine-ai/ai-discord-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spark-engine-ai%2Fai-discord-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spark-engine-ai%2Fai-discord-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spark-engine-ai%2Fai-discord-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spark-engine-ai%2Fai-discord-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spark-engine-ai","download_url":"https://codeload.github.com/spark-engine-ai/ai-discord-bot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spark-engine-ai%2Fai-discord-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29741140,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-23T07:44:07.782Z","status":"ssl_error","status_checked_at":"2026-02-23T07:44:07.432Z","response_time":90,"last_error":"SSL_read: 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":["ai","ai-agents","bot","chatbot","dalle-3","discord","generative-ai","image-generation","llama","llama3","minimax","multi-agent-systems","openai","spark-engine","stable-diffusion","video-generation","web-search"],"created_at":"2025-02-13T18:24:35.251Z","updated_at":"2026-02-23T09:38:56.307Z","avatar_url":"https://github.com/spark-engine-ai.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# **Spark Engine Discord Bot**  \n\n![AI-Powered Discord Bot](screenshots/discord-bot-banner.png)  \n\nAn AI-powered chatbot for Discord using **Spark Engine** to handle chat, search, image generation, and video assistance. Uses Llama3.3, DALL-E, Minimax Video-01 and Spark Engine to create the ultimate AI Discord bot for your servers.\n\n[![GitHub](https://img.shields.io/badge/GitHub-Open%20Source-blue?logo=github)](https://github.com/spark-engine-ai)  \n[![Discord](https://img.shields.io/badge/Join%20Our%20Community-Discord-blue?logo=discord)](https://discord.gg/VAQA5c32jM)  \n\n---\n\n## **Features**  \n✅ **AI-Powered Chat** – Have dynamic conversations with Spark Engine  \n🔍 **Web Search** – Fetch real-time search results  \n🎨 **Image Generation** – Create AI-generated images  \n📽️ **Video Generation** – Create AI-generated videos \n⚡ **Easy Deployment** – Run locally, with Docker, or host on your own server/hosting provider  \n\n---\n\n![Discord Bot Web Search Example](screenshots/image-4.png)  \n\n![Discord Bot Image Generation Example](screenshots/image-5.png)  \n\n## **Getting Started**  \n\n### **Step 1: Create a Discord Bot**  \n1. Go to the [Discord Developer Portal](https://discord.com/developers/applications)  \n2. Click **\"New Application\"**, name your bot, and go to the **Bot** tab  \n3. Click **\"Add Bot\"** → Copy your **Bot Token** (add it to `DISCORD_BOT_TOKEN` in your `.env`)  \n   ![Create a Discord Bot](screenshots/image-1.png)  \n4. Under **OAuth2 → Copy Client ID** (add it to `DISCORD_CLIENT_ID` in your `.env`)  \n   ![Get Client ID](screenshots/image-2.png)  \n5. Select the `bot` tab, and under `Privledged Gateway Intents` toggle on `Message Content Intent`\n6. Scroll down to `applications.commands`, then choose permissions (e.g., Send Messages, Read Messages, etc.)  \n7. Go to [Spark Engine](https://sparkengine.ai) and create an account\n8. Create a new project on Spark Engine and upload the `ai-discord-bot.spk` file found at the root of this project  \n   ![Upload Discord Bot Project](screenshots/image-3.png)  \n9. Copy your **Project ID** by clicking the **\"API\"** button inside your project menu on Spark Engine (add it to `PROJECT_ID` in your `.env`). This will be the AI flow that your bot calls, and you can modify it as needed.  \n10. Go to [Your API Keys](https://sparkengine.ai/account/api-keys) and add it to `SPARK_ENGINE_API_KEY` in your `.env`.  \n11. Once you’ve deployed and run the bot (see below), invite it to your Discord server!  \n\n---\n\n## **Installation Options**  \n\n### **1️⃣ Local Setup**  \n\n#### **Install Node.js**  \nDownload \u0026 install **Node.js (v16 or higher)** from [nodejs.org](https://nodejs.org/).  \n\n#### **Clone the Repository**  \n```bash\ngit clone https://github.com/YOUR-REPO/Spark-Engine-Discord-Bot.git\ncd Spark-Engine-Discord-Bot\n```\n\n#### **Install Dependencies**  \n```bash\nnpm install\n```\n\n#### **Set Up Environment Variables**  \nRename `.env.example` to `.env` and fill in the following values:  \n```env\nDISCORD_BOT_TOKEN=your-bot-token\nDISCORD_CLIENT_ID=your-client-id\nSPARK_ENGINE_API_KEY=your-api-key\nPROJECT_ID=your-spark-engine-project-id\nDASHBOARD_USERNAME=admin\nDASHBOARD_PASSWORD=admin\n```\n\n#### **Run the Bot Locally**  \n```bash\nnpm run start\n```\n\nThe bot should now be running! ✅  \n\nOpen [http://localhost:8080](http://localhost:8080) in your browser and enter your `DASHBOARD_USERNAME` and `DASHBOARD_PASSWORD`. (Defaults are both “admin”.)\n\n---\n\n### **2️⃣ Docker Setup**  \n\n#### **Build the Docker Image**  \n```bash\ndocker build -t discordsparkengine .\n```\n\n#### **Run the Docker Container**  \n```bash\ndocker run -p 8080:8080 -v discordsparkengineconfig:/discordsparkengine/configFile discordsparkengine\n```\n\n---\n\n### **3️⃣ Other Deployment Options**  \n\nTo keep your bot running 24/7, you’ll need a hosting provider or server that supports a persistent Node.js process. Some popular options include:\n\n- **Railway.app**  \n- **Fly.io**  \n- **Render.com**  \n- **Heroku**  \n- **AWS EC2** (or other VPS providers)  \n\nAfter setting up your environment variables on your hosting platform, simply run:\n```bash\nnpm run start\n```\nOr use a process manager like **PM2** for production:\n```bash\nnpm install pm2 -g\npm2 start index.js\n```\n\n---\n\n## **Commands**  \n\n| Command   | Description                  |\n|-----------|------------------------------|\n| `/chat`   | General AI chat              |\n| `/search` | Perform a web search         |\n| `/image`  | Generate an AI-powered image |\n| `/video`  | Generate an AI-powered video |\n\n---\n\n## **License**  \nThis project is licensed under the **MIT License**.  \n\n---\n\nNow you’re ready to launch your **Spark Engine Discord Bot**! 🚀\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspark-engine-ai%2Fai-discord-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspark-engine-ai%2Fai-discord-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspark-engine-ai%2Fai-discord-bot/lists"}