Skip to content

Releases: replaceitem/carpet-discarpet

Now on Modrinth

15 Jun 19:30
Compare
Choose a tag to compare

‼ Releases have moved to Modrinth

All future releases will no longer be releases on GitHub, use Modrinth instead

v1.3.2

12 May 18:33
Compare
Choose a tag to compare

Changes

  • Fixed embed thumbnail using embed image
  • Added slashCommandInteraction~'arguments_by_name', which returns a map of slash command interaction options by their name
  • Fixed slashCommandInteraction~'arguments' being incomplete

v1.3.1

03 May 15:01
Compare
Choose a tag to compare

Changes

  • Fixed multiple instances of images/avatars being expected, even though they are optional (#27 and #28)
  • Fixed many value queries resulting in errors (#29)

v1.3.0

01 May 19:40
Compare
Choose a tag to compare

Changes

  • Added Attachment value
    • Added message~'attachments`
  • Added Slash command interaction option value
    • Added server~'slash_commands'
    • Added dc_get_global_slash_commands() function
  • Added slash command value
  • Discord events now run on the main game thread instead of javacord's listener thread. This should fix all issues of not being able to access things inside the game in these events.
  • All parsables are now parsed using a new parser api. Some behaviours might be different than before
    • Renamed select menu option' 'default' field to 'default_option'
  • Added dc_delete(value) function for deleting discord values
    • Removed dc_delete_message, dc_delete_webhook and dc_delete_slash_command in favor of new dc_delete
  • Added Slash command builder parsable
    • dc_create_slash_command(command,server) now expects a slash command builder and a server (or null for global) as its arguments
  • Added Scarpet Graphics as a soft dependency for using images
    • Attachment parsable now supports 'image' as an image value
    • Embed image and thumbnail can now be an image
    • Webhook profile builder and updater avatar can now ba an image
    • Embed author and Embed footer icon can now be an image
  • There might very well be something I missed...

v1.2.2

12 Mar 14:03
Compare
Choose a tag to compare

Changes

  • Added dc_user_from_id(id)
  • Added dc_message_from_id(id, channel)
  • Added dc_webhook_from_id(id, token)
  • Added dc_webhook_from_url(url)
  • Added message~'nonce'
  • allowed_mentions to message content parser (Resolves #25)
  • reply_to to message content parser
  • nonce to message content parser
  • tts to message content parser
  • Added allowed mentions parsable

v1.2.1

10 Mar 12:42
Compare
Choose a tag to compare

Changes

  • Added dc_send_webhook() function to send a message and update the webhook profile in one request (#23)

v1.2.0 for MC 1.18 and 1.17

03 Mar 18:09
Compare
Choose a tag to compare

Changes

  • ‼Deleted deprecated function dc_build_embed and embed_builder value‼
  • Expanded minecraft and java version compatibility to work with minecraft 1.17. If you encounter any issue with 1.17 compatibility, please create an Issue
  • Added dc_webhook value
  • Added dc_create_webhook function
  • Added dc_update_webhook function
  • Added dc_delete_webhook function
  • Added server~'webhooks' and channel~'webhooks' properties
  • Added webhook_builder parsable
  • dc_send_message now accepts webhooks as the target

v1.1.3

02 Mar 11:33
Compare
Choose a tag to compare

Changes

  • Updated to minecraft 1.18.2

v1.1.2

13 Feb 16:02
Compare
Choose a tag to compare

Changes

  • Added config option disable_disconnect_logs to stop repeating messages like these occuring in the logs:
[ReadingThread/INFO]: Websocket closed with reason 'Discord commanded a reconnect (Received opcode 7)' and code COMMANDED_RECONNECT (4999) by client!
[ReadingThread/INFO]: Trying to reconnect/resume in 1 seconds!

Fixes #22

v1.1.1

21 Jan 14:13
Compare
Choose a tag to compare

Changes

  • Fixed incompatibility with Carpet 1.4.57