90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

Changelog

  • Added support for modals
    • Added Modal parsable
    • Added new component: Text input parsable
    • dc_respond_interaction now supports responding with a modal using RESPOND_MODAL type
    • Added dc_modal_interaction value
    • Added __on_discord_modal(interaction) event
    • New modal example
  • Added dc_set_name function for renaming channels, emojis, roles, servers and webhooks
  • Added locale property to all interactions. Returns the language code like en-US
  • Slash command interaction options now work with the attachment option type for submitting attachments as a slash command argument (Updated the slash command example)
  • The reason argument on dc_add_role and dc_remove_role is now optional
  • Added optional reason argument to dc_set_nickname and dc_delete
  • Added dc_timeout function

Files

discarpet-1.19-1.4.2.jar(4.3 MiB) Primary Download

Project members

replaceitem

Owner

Details

Licensed MIT
Published 2 years ago
Updated 5 months ago