create-discordjs-nextgen
v1.0.0
Published
Scaffold a Discord bot powered by discordjs-nextgen
Maintainers
Readme
create-discordjs-nextgen
CLI generator for discordjs-nextgen.
Usage
npx create-discordjs-nextgen my-botThe CLI asks for:
- Language:
JavaScriptorTypeScript - Plugins:
Voice,JSX - Template:
Starter Kit,Basic,Advanced
Templates
Basic
Creates the smallest possible bot:
- entry file
.envpackage.json
Starter Kit
Creates a practical starter project based on the examples:
commands/prefixcommands/slashcommands/hybridevents
Advanced
Creates a fuller example structure:
commandseventsbuttonsmodalsselectsconfigpluginsmiddleware
Notes
Voiceaddsdiscordjs-nextgen-voiceJSXaddsdiscordjs-nextgen-jsx, injectsapp.use(new JSXPlugin()), and creates one example prefix command- TypeScript adds
ts-node,typescript,@types/node - Generated code follows the current
discordjs-nextgenAPI
