{"id":51095816,"url":"https://github.com/sust56/discord-custom-command-bots","last_synced_at":"2026-06-24T06:34:29.394Z","repository":{"id":322237921,"uuid":"1088681694","full_name":"sust56/discord-custom-command-bots","owner":"sust56","description":"Discord Custom Command Bot – automated","archived":false,"fork":false,"pushed_at":"2025-11-03T10:11:16.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-03T12:08:31.112Z","etag":null,"topics":["accessibility","adb-less","appilot","appium","automation","bluestacks","discord-bot","discord-custom-command-bot","discord-js","discord-py","slash-commands","ui-automator"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sust56.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-03T10:07:09.000Z","updated_at":"2025-11-03T10:11:20.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/sust56/discord-custom-command-bots","commit_stats":null,"previous_names":["sust56/discord-custom-command-bots"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/sust56/discord-custom-command-bots","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sust56%2Fdiscord-custom-command-bots","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sust56%2Fdiscord-custom-command-bots/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sust56%2Fdiscord-custom-command-bots/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sust56%2Fdiscord-custom-command-bots/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sust56","download_url":"https://codeload.github.com/sust56/discord-custom-command-bots/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sust56%2Fdiscord-custom-command-bots/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34720920,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-24T02:00:07.484Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["accessibility","adb-less","appilot","appium","automation","bluestacks","discord-bot","discord-custom-command-bot","discord-js","discord-py","slash-commands","ui-automator"],"created_at":"2026-06-24T06:34:28.641Z","updated_at":"2026-06-24T06:34:29.385Z","avatar_url":"https://github.com/sust56.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Discord Custom Command Bot\n\nA production-ready bot that lets you define dynamic slash commands, message commands, and workflow automations for Discord servers — no code changes required. It streamlines repetitive moderation and engagement tasks while keeping responses fast, consistent, and brand-safe. The outcome: fewer manual clicks, richer member interactions, and scalable server operations powered by robust scheduling and retries.\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://Appilot.app\" target=\"_blank\"\u003e\n    \u003cimg src=\"media/appilot-baner.png\" alt=\"Appilot Banner\" width=\"100%\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://t.me/devpilot1\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Chat%20on-Telegram-2CA5E0?style=for-the-badge\u0026logo=telegram\u0026logoColor=white\" alt=\"Telegram\"\u003e\n  \u003c/a\u003e\u0026nbsp;\n  \u003ca href=\"https://wa.me/923249868488?text=Hi%20Appilot%2C%20I'm%20interested%20in%20automation.\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Chat-WhatsApp-25D366?style=for-the-badge\u0026logo=whatsapp\u0026logoColor=white\" alt=\"WhatsApp\"\u003e\n  \u003c/a\u003e\u0026nbsp;\n  \u003ca href=\"mailto:support@appilot.app\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Email-support@appilot.app-EA4335?style=for-the-badge\u0026logo=gmail\u0026logoColor=white\" alt=\"Gmail\"\u003e\n  \u003c/a\u003e\u0026nbsp;\n  \u003ca href=\"https://appilot.app\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Visit-Website-007BFF?style=for-the-badge\u0026logo=google-chrome\u0026logoColor=white\" alt=\"Website\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e \n   Created by Appilot, built to showcase our approach to Automation!\u003cbr\u003e\n   \u003cstrong\u003eIf you are looking for custom Discord Custom Command Bot, you've just found your team — Let’s Chat.👆👆\u003c/strong\u003e\n\u003c/p\u003e\n\n## Introduction\n**What it does:** Creates and runs custom commands (slash, context, message prefixes), reaction-based flows, and scheduled routines across channels and roles.  \n**What it automates:** Moderation, Q\u0026A, onboarding, utility lookups, bulk notices, role gating, and multi-step workflows.  \n**The benefit:** Save hours of moderator time, reduce human error, and deliver consistent experiences to your community 24/7.\n\n### Automating Discord Server Workflows\n- Define commands in JSON/YAML and deploy instantly with hot-reload.\n- Built-in scheduler, queues, and retries keep tasks reliable under load.\n- Pluggable handlers (webhooks, HTTP, DB, files) for rich, data-driven responses.\n- Anti-abuse guardrails: rate limits, cooldowns, and permission-scoped execution.\n- Optional Android/mobile path via Appilot for UI-level actions when API access is limited.\n\n## Core Features\n- **Real Devices and Emulators:** Optional Android path via Appilot to drive the Discord mobile app (Bluestacks/real devices) for UI-only actions like tapping UI elements not exposed by the API.\n- **No-ADB Wireless Automation:** ADB-less device control with Accessibility/UI Automator bridges to execute taps, scrolls, and text input when you need mobile-only flows.\n- **Mimicking Human Behavior:** Randomized delays, jitter, and human-like navigation to reduce detection and avoid spammy patterns.\n- **Multiple Accounts Support:** Isolated tokens/profiles, per-account limits, and concurrency controls for safe multi-bot operations.\n- **Multi-Device Integration:** Run the API bot plus optional Android drivers in parallel; route tasks to the best executor automatically.\n- **Exponential Growth for Your Account:** Consistent engagement loops (welcome flows, reaction roles, reminders) that compound member participation.\n- **Premium Support:** Priority bug fixes, configuration reviews, and performance tuning for high-traffic communities.\n- **Command Builder UI:** JSON/YAML schema with validation for defining commands, arguments, and permissions.\n- **Scheduler \u0026 Queues:** Cron-like jobs, delayed tasks, and idempotent workers for reliable execution.\n- **Observability:** Structured logs, metrics, and per-command tracing for debugging and analytics.\n\n| Feature | Description |\n|---|---|\n| **Slash \u0026 Context Commands** | Native `/` commands and right-click context actions with argument parsing and autocompletion. |\n| **Role-Based Permissions** | Fine-grained allow/deny by role/channel/user with cooldowns and rate limits. |\n| **Workflow Engine** | Compose multi-step actions (if/else, wait, fetch, transform, reply) as declarative graphs. |\n| **Integrations Hub** | Webhooks, REST APIs, Google Sheets/Notion/DB access for dynamic responses. |\n| **Hot Reload \u0026 Versioning** | Update commands without downtime; rollback instantly if needed. |\n| **Moderation Toolkit** | Kick/ban/mute/tempban flows, keyword filters, and escalation rules. |\n\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://appilot.app\" target=\"_blank\"\u003e\n    \u003cimg src=\"media/discord-custom-command-bot-banner}.png\" alt=\"discord-custom-command-bot-architecture\" width=\"95%\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n## How It Works\n1. **Input or Trigger** — From the Appilot dashboard, select tasks (e.g., onboarding replies, keyword responses, scheduled notices) and set targets (channels, roles, schedules).  \n2. **Core Logic** — The bot executes via Discord API (discord.js/discord.py). For UI-only mobile paths, Appilot drives Android (UI Automator/Accessibility) to tap, type, and navigate.  \n3. **Output or Action** — Sends replies, assigns roles, posts embeds, updates threads, or triggers external webhooks/DB updates.  \n4. **Other functionalities** — Retries with exponential backoff, circuit breakers, structured logs, per-command metrics, and parallel workers configurable in the Appilot dashboard.\n\n## Tech Stack\n- **Language:** TypeScript/Node.js (primary), Python (optional workers)  \n- **Frameworks:** discord.js, Fastify/Express (API), BullMQ/Worker Threads  \n- **Tools:** Appilot, Android Debug Bridge (ADB) (optional), UI Automator, Appium Inspector, Bluestacks, Nox Player, Scrcpy, Firebase Test Lab, Accessibility  \n- **Infrastructure:** Dockerized runners, Cloud emulators/device farm (optional), Proxy networks, Parallel Device Execution, Task Queues, Redis, PostgreSQL\n\n## Directory Structure\n```\n    discord-custom-command-bot/\n    │\n    ├── src/\n    │   ├── index.ts\n    │   ├── bot/\n    │   │   ├── commands/\n    │   │   │   ├── ping.ts\n    │   │   │   ├── announce.ts\n    │   │   │   └── role-gate.ts\n    │   │   ├── events/\n    │   │   │   ├── ready.ts\n    │   │   │   └── interaction-create.ts\n    │   │   ├── workflows/\n    │   │   │   ├── onboarding.flow.yaml\n    │   │   │   └── moderation.flow.yaml\n    │   │   ├── scheduler/\n    │   │   │   └── jobs.ts\n    │   │   └── utils/\n    │   │       ├── logger.ts\n    │   │       ├── rate-limit.ts\n    │   │       └── permissions.ts\n    │   ├── integrations/\n    │   │   ├── http-client.ts\n    │   │   └── sheets.ts\n    │   └── android/                # optional UI automation path\n    │       ├── device-controller.ts\n    │       └── selectors.json\n    │\n    ├── config/\n    │   ├── commands.schema.json\n    │   ├── commands.yaml\n    │   ├── settings.yaml\n    │   └── credentials.example.env\n    │\n    ├── scripts/\n    │   ├── deploy-commands.ts\n    │   └── seed.ts\n    │\n    ├── tests/\n    │   ├── command.ping.spec.ts\n    │   └── workflow.onboarding.spec.ts\n    │\n    ├── logs/\n    │   └── app.log\n    │\n    ├── output/\n    │   ├── metrics.json\n    │   └── audit.csv\n    │\n    ├── docker/\n    │   ├── Dockerfile\n    │   └── compose.yaml\n    │\n    ├── package.json\n    ├── tsconfig.json\n    ├── README.md\n    └── LICENSE\n```\n\n## Use Cases\n- **Community Managers** use it to publish scheduled announcements with embeds, so they can run events without manual posting.  \n- **Moderators** use it to apply role gates and cooldowns, so they can reduce spam and keep channels clean.  \n- **Studios \u0026 Brands** use it to run Q\u0026A/FAQ commands linked to a knowledge base, so they can scale support without extra staff.  \n- **Hackathons \u0026 Courses** use it to auto-onboard participants and distribute resources, so they can keep operations smooth.\n\n## FAQs\n**How do I configure this automation for multiple accounts?**  \nProvide multiple tokens and isolate them with per-shard queues. The bot enforces per-account rate limits, cooldowns, and separate command namespaces.\n\n**Does it support proxy rotation or anti-detection?**  \nFor API traffic, we follow Discord best practices (intents, rate limits, user agent hygiene). For optional Android paths, device profiles and randomized interaction patterns help mimic real usage.\n\n**Can I schedule it to run periodically?**  \nYes. Use the built-in scheduler (cron-like) or delayed jobs to post messages, rotate topics, or refresh data at precise intervals.\n\n**Can I edit commands without redeploying?**  \nYes. Commands are defined in YAML/JSON with schema validation and hot-reload; a helper script syncs slash commands with Discord.\n\n## Performance \u0026 Reliability Benchmarks\n- **Execution Speed:** Typical command round-trip \u003c 120 ms on local region hosting; bulk operations batched with back-pressure to respect Discord limits.  \n- **Success Rate:** **95%** measured across command executions with retries and idempotency keys.  \n- **Scalability:** Horizontal sharding and worker pools validated to **300–1000** concurrent guilds/devices (mixed API + optional Android runners).  \n- **Resource Efficiency:** Worker threads and pooled HTTP keep CPU low; memory caps enforced with graceful degradation under load.  \n- **Error Handling:** Exponential backoff, dead-letter queues, per-command circuit breakers, and alerting via webhooks/Slack.\n\n##\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://cal.com/app-pilot-m8i8oo/30min\" target=\"_blank\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Book%20a%20Call%20with%20Us-34A853?style=for-the-badge\u0026logo=googlecalendar\u0026logoColor=white\" alt=\"Book a Call\"\u003e\n\u003c/a\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsust56%2Fdiscord-custom-command-bots","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsust56%2Fdiscord-custom-command-bots","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsust56%2Fdiscord-custom-command-bots/lists"}