Skip to content

v1.0.0-beta.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@gazmull gazmull released this 24 Mar 18:35
· 80 commits to master since this release
0898240

Updating from v0.8.0

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 (under clientAssets.prompt)

Changed

  • MessageEmbed superclass changed to EventEmitter
  • MessageEmbed customisations for FieldsEmbed mode can only be access via embed property. e.g:
<FieldsEmbed>.embed
  .setColor('red')
  .setTitle('A customised embed')
  • clientMessageclientAssets; including its method
  • Source code: from JavaScript to TypeScript
  • Tweaked typings and documentation
  • README revamped (please read)

Removed

  • Dependencies-relevant: yarn.lock and eslint-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