Skip to content

v0.5.0

Latest
Compare
Choose a tag to compare
@hkwu hkwu released this 22 Jun 08:25
· 5 commits to master since this release

⭐️ breaking

Added

  • Additional options for specifying prefixes.
    • Deferred prefixes: by passing in a function as the client prefix option, you can defer the generation of a message prefix until you receive a message.
    • Regular expression prefixes: you can now pass a RegExp as a prefix. The flags associated with that RegExp are preserved.

Changed

  • String prefixes are no longer case-sensitive. You must switch to regular expressions if you wish to use case-sensitive prefixes. ⭐️