Skip to content

Releases: EarthCow/JavaDiscordWebhook

v1.3.0

Choose a tag to compare

@EarthCow EarthCow released this 08 Jan 16:38
c9757e8

New Features

  • Adds getters for the main fields of the DiscordWebhook class
  • Allows static webhook execution on a specified webhook url and json payload
  • Adds EmbedObject#setColorStr which, when not null, overrides the EmbedObject's Java Color
  • Enables null webhook url instantiation of the DiscordWebhook class for use in building a json payload

Improvements

  • Changes visibility of internal EmbedObject classes (Footer, Thumbnail, Image, Author, Field) to public since these classes are the return type of getter methods.

v1.2.0

Choose a tag to compare

@EarthCow EarthCow released this 16 Mar 20:55
25bf861

Allows execution of a specified JSON string. Useful in conjunction with https://discohook.org.

v1.1.0

Choose a tag to compare

@EarthCow EarthCow released this 10 Mar 18:46
8019c36

Adds methods #getJsonString() and #clearEmbeds()

v1.0.1

Choose a tag to compare

@EarthCow EarthCow released this 12 May 18:10
2dc0b40

Adds WEBHOOK_PATTERN as a public static constant for easy webhook URL validation.

v1.0.0

Choose a tag to compare

@EarthCow EarthCow released this 17 Apr 23:11

Provides a way to add @k3kdude's DiscordWebhook class with my modifications as a maven dependency using jitpack.

My modifications fixed the encoding issue via StandardCharsets.UTF_8, made the classes public, made some variables final, and added timestamp functionality.