{"repo":"Varietyz/discord-js-bot-template","free":true,"listed":false,"github":"https://github.com/Varietyz/discord-js-bot-template","clone":"git clone https://github.com/Varietyz/discord-js-bot-template.git","description":"Scalable Discord Bot Template, includes: GitHub Workflow (Actions + Releases), API, Rate-limiting, Regression detection, benchmarking/stress-testing, Hot reloading, Plugin architecture and rigorously following SoC, DRY and KISS principles.","language":"JavaScript","stars":18,"topics":["api","benchmarking","business","discord-bot","discord-bot-framework","discord-bot-template","discord-js","modularity","plugin-system","production-ready"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"discord-bot-template Production-ready Discord bot template A production-ready Discord bot template with plugin-based architecture, comprehensive security, and REST API management interface. Features - Plugin System : Auto-discovery for commands, slash commands, interactions, and message handlers - Security : Role-based permissions with database-backed rate limiting - Database : SQLite with migration system and audit trails - API : REST endpoints for external management and monitoring - Monitoring : Performance benchmarking and comprehensive logging - Architecture : Modular design following DRY/KISS principles Quick Start Configuration Edit .env file with the following options: - DISCORD TOKEN : your bot token here - CLIENT ID : your client id here - DB PATH : ./data/bot.db - API PORT : 3000 - API ENABLED : false - API TOKEN : your secure api token here - CORS ORIGIN : - RATE LIMIT WINDOW : 60000 - RATE LIMIT MAX REQUESTS : 10 - LOG LEVEL : info Project Structure Plugin Development Command Plugin Example Slash Command Plugin Example API Endpoints The REST API provides external access to bot management: - GET /health - System health check - GET /api/stats - Plugin and system statistics - GET /api/servers - List managed servers - GET /api/servers/:id/config - Server configuration - PUT /api/servers/:id/config - Update server config - GET /api/servers/:id/audit - Audit logs Authentication required via Authorization: Bearer header. Database Management The bot uses SQLite for data ","default_branch":null,"files":null,"tree":[],"storefront":"/r/Varietyz","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Varietyz/discord-js-bot-template/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}