Skip to content

v0.9.4

Compare
Choose a tag to compare
@gehongyan gehongyan released this 12 Nov 15:42
· 18 commits to master since this release

Added

  • Added support for sending and modifying template messages.
    • Overloads for IMessageChannel.SendTextAsync, IMessageChannel.SendCardsAsync, IDMChannel.SendTextAsync, and IDMChannel.SendCardsAsync methods now accept parameters templateId, parameters, and jsonSerializerOptions for sending template messages.
    • Added TemplateId, Parameters, and JsonSerializerOptions properties to MessageProperties for modifying template messages.
    • Added MessageProperties<T> class to support passing generic-typed parameters arguments.
  • Text command framework now supports keyed services. The FromKeyedServicesAttribute can be used to obtain keyed service instances.

Fixed

  • Fixed the issue where SocketGuild.CurrentUser was null.
  • Fixed an issue where direct messages might not be edited correctly.

Full Changelog: v0.9.3...v0.9.4