Package Exports
- commandkit-helper
- commandkit-helper/dist/index.js
- commandkit-helper/dist/index.mjs
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (commandkit-helper) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
commandkit-helper
commandkit-helper is a simple library that will help with building comamnds to work with CommandKit
Works with Discord.JS V14
Features
- Extremely Beginner friendly
- Allows you to have command builders for CommandKit
Installation
npm install commandkit-helperDocumentation
You can find the main documentation here
Changelog
v1.5.0
- Added the
addCustomOption()function to theUserContextCommandandMessageContextCommand - Deprecated the
setGuildOnly()function more info in the docs - Added support for type
Omit<SlashCommandBuilder, "addSubcommand" | "addSubcommandGroup">in theAnySlashCommandData(this will allow you to not have to do.toJSON()at the end of the slash command builder if you have options on it)
v1.4.0
- Added ValidationBuilder to make it beginner friendly as it will add the typings for you
- Added new method in the SlashCommand called addCustomOption() which allows you to add a custom option to the commandObj
- Fixed a issue where you could not set the command data to a SlashCommandSubcommandsOnlyBuilder type