v0.4.0
nosedrum version 0.4 comes with support for application commands and
first-class command alias support, as well as bringing in some small
quality improvements to the message cache & documentation.
A huge thanks for this release to Ben W. (@Bentheburrito), who wrote the
application command support and implemented alias support into the
traditional command behaviour & our command storage.
Added
- Application command support, via the
Nosedrum.ApplicationCommandbehaviour,
as well as theNosedrum.Interactorbehaviour & the
Nosedrum.Interactor.Dispatcherimplementation. - First-class alias support for traditional commands. If you implemented your
ownNosedrum.Storage, then you will need to update it to incorporate this
change. See the diff for
Nosedrum.Storage.ETS
as an example of nosedrum implemented it.
Changed
- Cache entire messages in message cache implementations.
- Return direct values from
:ets.insertorAgent.get_and_updatein
Nosedrum.MessageCacheimplementations. If you match on the:okvalue
returned inMessageCache.getorMessageCache.update, you will need to
update your code. - Change value to signal "return all cached messages" in
Nosedrum.MessageCache.recent_in_guildfromnilto:infinity.