⭐️ 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 thatRegExp
are preserved.
Changed
- String prefixes are no longer case-sensitive. You must switch to regular expressions if you wish to use case-sensitive prefixes. ⭐️