create-disckit-app
v1.1.0
Published
Scaffold a Discord bot with @disckit packages pre-configured.
Downloads
22
Maintainers
Readme
Usage
npx create-disckit-app my-bot
npm create disckit-app my-botThat's it. The CLI will:
- Copy the bot template into
my-bot/ - Run
npm install(oryarn/pnpmif detected) - Print the next steps
What's included
my-bot/
src/
index.js → bot client with cooldown + antiflood ready
deploy.js → register slash commands
commands/
ping.js → /ping — latency and uptime
info.js → /info — server info
.env.example → BOT_TOKEN, CLIENT_ID, TEST_GUILD_ID
.gitignore
package.json
README.md@disckit packages included
| Package | Used for |
|---------|----------|
| @disckit/common | formatTime, DISCORD constants |
| @disckit/cooldown | Per-user command cooldowns |
| @disckit/antiflood | Sliding window rate limiter |
