Перейти к содержимому
Mineforgian

Carpet Discarpet

Fabric carpet extension that adds discord functionality to scarpet

20K загрузок26 подписчиковMITfabric

Обновлён 17 июня 2026 г. · опубликован 15 июня 2022 г.

  • Example script

Discarpet

Available for fabric Available on Modrinth See me on GitHub Read the Documentation Chat on Discord

A Carpet extension for discord bot functionality

Discarpet

This is an extension for fabric-carpet that adds parts of the Discord bot API as scarpet functions.

This allows you to code Discord bots that run within Minecraft, and interact with the Minecraft world.

Requires Carpet mod

Версии

ВерсияКаналИграЗагрузчикиДатаСкачать
1.7.6Релиз26.2fabric17 июня 2026 г.Скачать (7.9 МБ)
1.7.5Релиз26.1, 26.1.1, 26.1.2fabric3 июня 2026 г.Скачать (7.9 МБ)
1.7.4Релиз26.1, 26.1.1, 26.1.2fabric29 марта 2026 г.Скачать (7.9 МБ)
1.7.3Релиз1.21.11fabric29 марта 2026 г.Скачать (7.9 МБ)
1.7.2Релиз1.21.11fabric21 января 2026 г.Скачать (7.8 МБ)
1.7.1Релиз1.21.11fabric11 декабря 2025 г.Скачать (7.8 МБ)
1.7.0Релиз1.21.7, 1.21.8, 1.21.9, 1.21.10fabric27 ноября 2025 г.Скачать (5.7 МБ)
1.6.1Релиз1.21.7, 1.21.8, 1.21.9, 1.21.10fabric23 июня 2025 г.Скачать (5.6 МБ)
1.6.0Релиз1.21.5, 1.21.6fabric25 мая 2025 г.Скачать (5.6 МБ)
1.5.6Релиз1.21.5fabric31 марта 2025 г.Скачать (6.4 МБ)
1.5.5Релиз1.21.2, 1.21.3, 1.21.4fabric9 ноября 2024 г.Скачать (6.4 МБ)
1.5.5Релиз1.20.5, 1.20.6, 1.21, 1.21.1fabric23 апреля 2024 г.Скачать (6.4 МБ)
1.5.4Релиз1.20.4fabric11 декабря 2023 г.Скачать (6.4 МБ)
1.5.3Релиз1.20.2fabric13 ноября 2023 г.Скачать (6.4 МБ)
1.5.2Релиз1.20.2fabric8 ноября 2023 г.Скачать (6.4 МБ)

Показаны последние 15 из 28 версий.

Ченджлог

1.7.6Релиз26.2 · 17 июня 2026 г.
  • Updated to MC 26.2
1.7.5Релиз26.1, 26.1.1, 26.1.2 · 3 июня 2026 г.
  • Reworked bot connection. Behavior may vary.
  • Added CONNECT_TIMEOUT config option for adjusting the bot connection timeout. Defaults to 10 seconds.
1.7.4Релиз26.1, 26.1.1, 26.1.2 · 29 марта 2026 г.
  • Updated to MC 26.1
1.7.3Релиз1.21.11 · 29 марта 2026 г.
  • Added support for checkbox, checkbox group and radio group components
  • Updated modal examples with new components
1.7.2Релиз1.21.11 · 21 января 2026 г.
  • Fixed compatibility of __on_system_messsage event with other mods like better-fabric-console
  • Updated JDA version
1.7.1Релиз1.21.11 · 11 декабря 2025 г.
  • Updated to Minecraft 1.21.11
1.7.0Релиз1.21.8, 1.21.9, 1.21.10 · 27 ноября 2025 г.

Changes

  • Updated to JDA 6.1.1. With that comes some breaking changes. See "Migrating" section below for necessary migrations

Components

  • Added new Label component type
    • This replaces the use of Action rows in modals and the label property in text inputs
  • Action rows are now its own component type
    • Instead of the components in the message content schema being a list of lists of components, action rows can be declared explicitly with a component of type action_row. The old syntax of defining an action row from an array is still supported for backward compatibility and convenience.
  • The label field of text inputs has been removed. Use a label component instead.
  • Added support for components V2 via use_components_v2 in message content
  • Added new components from components V2 (See docs for details)
    • Separator
    • Container
    • Text display
    • Section
    • Thumbnail
    • Media gallery
    • File display
    • File upload

Documentation

  • Message components example was split into seperate buttons and select menus example
  • Added misc components example for component V2 components
  • Added links to relevant examples to docs for functions and schemas
  • Updated modal example with file upload and select menu

Migrating

To migrate your scripts, the following is necessary:

  • Converting action rows in modals to labels
    • Check the updated modal example in the documentation
1.6.1Релиз1.21.8, 1.21.9, 1.21.10 · 23 июня 2025 г.
  • Improved handling of error messages of api_exceptions based on JDA exceptions

Комментарии

Загружаем…