Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Carpet Discarpet

Carpet Discarpet

Fabric carpet extension that adds discord functionality to scarpet

11.3k
22
Library
Social
Utility

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

Server-side

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source Visit wiki Join Discord server

Creators

replaceitem
replaceitem Owner

Details

Licensed MIT
Published 3 years ago
Updated last month
DescriptionGalleryChangelogVersions
All versions1.5.6

1.5.6

Download
Report

Changelog

  • Updated to 1.21.5
  • New behaviour for errors while executing API requests. Previously, functions would return true or false (sometimes null or a value) to indicate success or failure. Now those functions no longer return anything (or only return a value) and instead throw custom discarpet exceptions that can be caught using try(). This affects the following functions and queries:
    • These functions no longer return a boolean value to indicate success and will instead throw an exception when an error occured:
      • dc_set_channel_topic
      • dc_react
      • dc_set_nickname
      • dc_add_role
      • dc_remove_role
      • dc_set_name
      • dc_delete
    • These functions will now throw an exception instead of returning null. When successful they will return a value:
      • dc_send_message
      • dc_send_webhook
      • dc_create_webhook
      • dc_update_webhook
      • dc_create_thread
      • dc_create_application_command
      • dc_get_global_application_commands
      • dc_user_from_id
      • dc_message_from_id
      • dc_webhook_from_id
      • dc_webhook_from_url
    • These actions now properly handle errors and throw exceptions on failure:
      • attachment~'download'
      • channel~'webhooks'
      • server~'webhooks'
      • server~'slash_commands'
      • user~'private_channel'
    • Special cases:
      • dc_respond_interaction can still return null when the response type doesn't create a message. In all other cases it will either throw an exception or return a Message
  • Added events:
    • __on_discord_message(message, old_message, is_actual_edit)
    • __on_discord_message_delete(message)
    • __on_discord_server_member_join(server, user)
    • __on_discord_server_member_leave(server, user)
  • Fully removed the deprecated function dc_create_slash_command. Use dc_create_application_command instead
  • Improved reloading of bots
  • Split dc_timeout into dc_get_timeout and dc_set_timeout

Dependencies

dependency-iconCarpetrequired

Files

discarpet-1.21.5-1.5.6.jar(6.37 MiB) Primary
Download

Metadata

Release channel

Release

Version number

1.5.6

Loaders

Fabric

Game versions

1.21.5

Downloads

379

Publication date

March 31, 2025 at 4:09 PM

Publisher

replaceitem

replaceitem

Owner

Version ID

Modrinth is open source.

new-orgs-page@a27b5f4

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.