A lightweight and efficient template for building Discord bots exclusively focused on Slash Commands. Built with simplicity and performance in mind.
- Pure Slash Commands: Focused on modern Discord interaction patterns.
- Automated Registration: Commands are automatically detected and registered to the Discord API.
- Clean Codebase: No bloat, just the essentials for a fast-starting bot.
- Interaction Handler: High-performance handling of
InteractionCreateevents.
- Setup: Install Node.js v16.9 or higher.
- Clone:
git clone https://github.com/umutxyp/slash-command-bot.git - Install:
npm install - Config: Fill in your
tokenandclientIDinconfig.js. - Launch:
node index.js
- Core: Discord.js v14
- Language: JavaScript (ES6+)