Skip to content

2.0.0

Compare
Choose a tag to compare
@Woeler Woeler released this 31 Jan 10:44
· 6 commits to master since this release

2.0.0 restructures the library to be more user friendly. Basically you can now do more with less code. Updating from the 1.x versions will require significant changes.

Changes:

  • DiscordMessageInterface was dropped in favour of the AbstractDiscordMessage class.
  • All Discord messages now implement JsonSerializable.
  • Added a property for TTS messages.
  • All setters are now fluent.
  • The message object was removed from the webhook constructor. You must now pass the message object to the send method of the webhook.
  • Dropped DiscordExceptionMessage class.
  • Dropped DiscordNoContentException.
  • Added rate-limit handling to the webhook class.
  • All message properties are now private instead of protected.