Releases: cobaltt7/strife.js
Releases · cobaltt7/strife.js
v4.2.0
v4.1.4
v4.1.3
v4.1.0
- impr: Add many various Discord.JS utility functions that may be helpful for bots
- impr: Add a built-in fully-fledged error handling system
- impr: Add
debug
option - impr: Allow omitting the
modulesDirectory
option to not load any modules - fix: Fix type errors when using Discord.JS 14.15+
- fix: Ignore duplicate guild IDs in
access
- fix: Rename
StringAutocompleteOption
toStringOption
- fix: Slightly improve option types for DM commands
- fix: Remove unused dependency on tslib
- fix: Deprecate the internal
CacheReducer
type - fix: Change Node.JS version requirement from 18.11.1 to 18.11.0
- docs: Add JSDoc to everything
- docs: Add more metadata to package.json and the NPM package listing
- docs: Update recommended
modulesDirectory
to have shorter code - docs: Fix incorrect
@defaults
docs
v4.0.1
3.1.0 attempted to add CJS support, and the many patch and -dev releases following attempted to fix CJS and ESM and TypeScript never working well together. In the end, it failed. I have no idea what works on which versions, if anything. This package will continue to be ESM-only. If you are able to get CJS working with types at the same time as typed ESM, please PR it.
In addition, this release swaps options.<option>.choices
to have the keys be the values passed to your bot and the values are the descriptions. This should result in slightly more concise and clean code.