Compatibility
Minecraft: Java Edition
1.21.x
1.20.4–1.20.6
1.20–1.20.2
1.19.x
1.18.x
1.17
Platforms
Fabric
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
Licensed MIT
Published 2 years ago
Updated last week
Changelog
BREAKING CHANGES:
- Intents are no longer boolean values, but a list of strings instead (See Setup)
dc_get_global_slash_commands
got renamed todc_get_global_application_commands
and now returns all types of commandsdc_create_slash_command()
got renamed todc_create_application_command()
and has an additionaltype
argument, and returns the application command value instead of a boolean nowslash_command~'id'
now returns the interaction id, instead of the slash command id. Useslash_command~'command_id'
instead- The string representation of all discord values is now no longer the type name, but a custom string
Other changes:
- Added
message_context_menu_builder
anduser_context_menu_builder
parsable - Added
dc_message_context_menu
anddc_user_context_menu
values - Added
dc_message_context_menu_interaction
anddc_user_context_menu_interaction
values - Added
ephemeral
andsuppress_embeds
fields tomessage_content
parsable dc_create_application_command
now works with message context menu and user context menu commands- Fixed modal parsable internally being called
embed
- Internally, renamed
instant
parsable totimestamp
to match docs
Revamped documentation
- The docs have moved to https://replaceitem.github.io/carpet-discarpet/
- All functions, values, parsables, events and examples have their own page now
- Added internal parsable names to the docs
- Added documentation on
dc_get_global_application_commands()
which was missing - Many many more changes and polishes to docs
Dependencies
Files
Metadata
Release channel
ReleaseVersion number
1.4.3Loaders
Game versions
1.19Downloads
88Publication date
July 12, 2022 at 12:55 PMPublisher
replaceitem
Owner