Files
discord.js/packages/structures
Asad 3550b497f6 feat(structures): add AutoModeration structures (#11381)
* feat(structures): add barrel exports in preparation new structures

* feat(structures): add AutoModerationRule structure

* feat(structures): add AutoModerationRuleTriggerMetadata structure

* feat(structures): add AutoModerationAction substructure

* feat(structure): add AutoModerationActionMetadata substructure

* chore: correct typo

* chore: do not expose exemptRoles and exemptChannels as getters

* feat(structures): rename substructure files

* chore(structures): update barrel exports

* chore(structures): export automod structures in package barrel exports
2026-01-24 19:40:01 +00:00
..
2025-07-12 18:24:30 +00:00
2025-07-12 18:24:30 +00:00
2025-12-10 17:53:48 +00:00
2025-10-13 12:54:08 +00:00


discord.js


Discord server npm version npm downloads Tests status Last commit. backers Code coverage

Vercel Cloudflare Workers

About

@discordjs/structures is a low level wrapper around Discord JSON Objects, meant to be a foundation to build upon in a higher level library.

Installation

Node.js 22.12.0 or newer is required.

npm install @discordjs/structures
yarn add @discordjs/structures
pnpm add @discordjs/structures
bun add @discordjs/structures

Contributing

Before creating an issue, please ensure that it hasn't already been reported/suggested, and double-check the documentation.
See the contribution guide if you'd like to submit a PR.

Help

If you don't understand something in the documentation, you are experiencing problems, or you just need a gentle nudge in the right direction, please don't hesitate to join our official discord.js Server.