Releases: Woeler/discord-php
Releases · Woeler/discord-php
Version 4.0.1
Version 4.0.0
- Upgrade to PHP 8.1
- Add support for waiting for the message response when sending messages
- Add support for the message GET method
- Add support for the message UPDATE method
- Add support for the message DELETE method
- Cleaned up some code
- Removed toArray in favour of jsonSerialize method
- Move generic getters and setters to the abstract class from the textmessage class
- Change self return types to static
- Add Discord's error description to exceptions for better debugging
Version 3.0.0
Updated the library to use PHP 7.4 features.
2.0.0
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.
v1.1.1
v1.1.0
Release 1.0.2
v1.0.2 [TASK] Add code to exception
Release 1.0.1
v1.0.1 [BUGFIX] Check for embeds
Release 1.0.0
v1.0.0 [TASK] Fix typo