Skip to content

Releases: Woeler/discord-php

Version 4.0.1

27 Jan 15:09
075abb9
Compare
Choose a tag to compare

Prevents float values from being passed to usleep.

Version 4.0.0

10 Jun 09:15
ae60360
Compare
Choose a tag to compare
  • 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

30 Jun 13:47
Compare
Choose a tag to compare

Updated the library to use PHP 7.4 features.

2.0.0

31 Jan 10:44
Compare
Choose a tag to compare

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

25 Nov 08:55
1f25878
Compare
Choose a tag to compare

[BUGFIX] Add JSON data type request header.

v1.1.0

26 Jun 10:31
Compare
Choose a tag to compare

Fluent setters on embeds messages.

Release 1.0.2

25 Nov 15:42
Compare
Choose a tag to compare
v1.0.2

[TASK] Add code to exception

Release 1.0.1

23 Nov 12:53
Compare
Choose a tag to compare
v1.0.1

[BUGFIX] Check for embeds

Release 1.0.0

23 Nov 12:29
Compare
Choose a tag to compare
v1.0.0

[TASK] Fix typo