@eliware/discord
v15.0.2
Published
A modular, extensible Discord app framework for Node.js with slash command, localization, and event-driven support.
Maintainers
Readme
@eliware/discord

A modular, extensible Discord app framework for Node.js with slash command, localization, and event-driven support.
Table of Contents
- Features
- Requirements
- Setup
- Usage
- Development
- Testing
- Troubleshooting
- Security
- API
- Packaging
- Examples
- Support
- Links
- License
Features
Create Discord.js clients and load app commands, events, and locale files.
Requirements
Use Node.js 26 or later and native ESM.
Setup
Run npm install @eliware/discord. Set DISCORD_CLIENT_ID and DISCORD_TOKEN in the app environment.
Usage
Import createDiscord and call client.shutdown() when the app stops. Read the user guides and release notes.
Development
Read the specifications before you change repository files.
Testing
Run npm test for aggregate validation.
Troubleshooting
Read the troubleshooting guide for common problems.
Security
Keep bot tokens out of source control. Enable only the intents and permissions that the app needs.
API
The package exports createDiscord, purgeCommands, and splitMsg. Read the API guide.
Packaging
The package includes src/, docs/, README.md, AGENTS.md, LICENSE, RELEASE_NOTES.md, examples/, specs/, and .env.example.
Use numeric MAJOR.MINOR.PATCH versions and matching v<version> tags. The npm workflow runs npm test before publication and checks that the tag matches the package version.
Run npm run pack to check package contents.
Examples
Read the example index.
Support
For help, questions, or to chat with the author and community, visit:



