Releases: replaceitem/carpet-discarpet
Releases · replaceitem/carpet-discarpet
Now on Modrinth
v1.3.2
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
v1.3.0
Changes
- Added Attachment value
- Added
message
~'attachments`
- Added
- Added Slash command interaction option value
- Added
server~'slash_commands'
- Added
dc_get_global_slash_commands()
function
- Added
- 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'
- Renamed select menu option'
- Added
dc_delete(value)
function for deleting discord values- Removed
dc_delete_message
,dc_delete_webhook
anddc_delete_slash_command
in favor of newdc_delete
- Removed
- 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
- Attachment parsable now supports
- There might very well be something I missed...
v1.2.2
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 parsernonce
to message content parsertts
to message content parser- Added allowed mentions parsable
v1.2.1
v1.2.0 for MC 1.18 and 1.17
Changes
- ‼Deleted deprecated function
dc_build_embed
andembed_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'
andchannel~'webhooks'
properties - Added
webhook_builder
parsable dc_send_message
now accepts webhooks as the target
v1.1.3
Changes
- Updated to minecraft 1.18.2
v1.1.2
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
Changes
- Fixed incompatibility with Carpet 1.4.57