v1.0.0-beta.0
Pre-release
Pre-release
If the link above is unavailable, you may proceed to the documentation site instead.
Added
- NPM publish
- Package scripts and configs
- Changelog added
- PaginationEmbed events (from superclass
EventEmitter
) - Customisable
prompt
message (underclientAssets.prompt
)
Changed
MessageEmbed
superclass changed toEventEmitter
MessageEmbed
customisations forFieldsEmbed
mode can only be access viaembed
property. e.g:
<FieldsEmbed>.embed
.setColor('red')
.setTitle('A customised embed')
clientMessage
➡clientAssets
; including its method- Source code: from
JavaScript
toTypeScript
- Tweaked typings and documentation
README
revamped (please read)
Removed
- Dependencies-relevant:
yarn.lock
andeslint
-relevant - Object parameter to construct an instance. Please use the methods instead
Fixed
- Current instance not being awaited properly on asynchronous functions. As example, your code that looks like this will work as expected now:
// e.g: A command has a cooldown/ratelimit for using this instance, we should wait for the instance to finish everything (either user deletes or expires the session) before we can let the user use this command again.
await <Embeds>.build();
return 'done!';
- Better typings and docs references