├── .commitlintrc.json ├── .eslintrc.json ├── .gitattributes ├── .github ├── CODE_OF_CONDUCT.md ├── COMMIT_CONVENTION.md ├── CONTRIBUTING.md ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── bug_report.yml │ ├── config.yml │ └── feature_request.yml ├── PULL_REQUEST_TEMPLATE.md ├── SUPPORT.md ├── labels.yml ├── tsc.json └── workflows │ ├── deploy.yml │ ├── labelsync.yml │ └── test.yml ├── .gitignore ├── .husky ├── commit-msg └── pre-commit ├── .lintstagedrc.json ├── .npmrc ├── .prettierrc.json ├── .versionrc ├── CHANGELOG.md ├── LICENSE ├── README.md ├── __tests__ ├── interactions │ ├── ContextMenuCommands.test.ts │ └── SlashCommands │ │ ├── Options.test.ts │ │ └── SlashCommands.test.ts └── messages │ ├── embed.test.ts │ └── formatters.test.ts ├── babel.config.js ├── codecov.yml ├── docs ├── README.md ├── examples │ └── Slash Command Builders.md └── index.yml ├── jest.config.js ├── package.json ├── scripts └── docs.mjs ├── src ├── index.ts ├── interactions │ ├── contextMenuCommands │ │ ├── Assertions.ts │ │ └── ContextMenuCommandBuilder.ts │ └── slashCommands │ │ ├── Assertions.ts │ │ ├── SlashCommandBuilder.ts │ │ ├── SlashCommandSubcommands.ts │ │ ├── mixins │ │ ├── ApplicationCommandNumericOptionMinMaxValueMixin.ts │ │ ├── ApplicationCommandOptionBase.ts │ │ ├── ApplicationCommandOptionChannelTypesMixin.ts │ │ ├── ApplicationCommandOptionWithChoicesAndAutocompleteMixin.ts │ │ ├── NameAndDescription.ts │ │ └── SharedSlashCommandOptions.ts │ │ └── options │ │ ├── boolean.ts │ │ ├── channel.ts │ │ ├── integer.ts │ │ ├── mentionable.ts │ │ ├── number.ts │ │ ├── role.ts │ │ ├── string.ts │ │ └── user.ts └── messages │ ├── embed │ ├── Assertions.ts │ └── Embed.ts │ └── formatters.ts ├── tsconfig.eslint.json ├── tsconfig.json └── tsup.config.ts /.commitlintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/.commitlintrc.json -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto eol=lf 2 | -------------------------------------------------------------------------------- /.github/CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/.github/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /.github/COMMIT_CONVENTION.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/.github/COMMIT_CONVENTION.md -------------------------------------------------------------------------------- /.github/CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/.github/CONTRIBUTING.md -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/.github/ISSUE_TEMPLATE/bug_report.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/.github/ISSUE_TEMPLATE/config.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/.github/ISSUE_TEMPLATE/feature_request.yml -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/SUPPORT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/.github/SUPPORT.md -------------------------------------------------------------------------------- /.github/labels.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/.github/labels.yml -------------------------------------------------------------------------------- /.github/tsc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/.github/tsc.json -------------------------------------------------------------------------------- /.github/workflows/deploy.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/.github/workflows/deploy.yml -------------------------------------------------------------------------------- /.github/workflows/labelsync.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/.github/workflows/labelsync.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/.husky/commit-msg -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/.husky/pre-commit -------------------------------------------------------------------------------- /.lintstagedrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/.lintstagedrc.json -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/.npmrc -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/.prettierrc.json -------------------------------------------------------------------------------- /.versionrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/.versionrc -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/README.md -------------------------------------------------------------------------------- /__tests__/interactions/ContextMenuCommands.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/__tests__/interactions/ContextMenuCommands.test.ts -------------------------------------------------------------------------------- /__tests__/interactions/SlashCommands/Options.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/__tests__/interactions/SlashCommands/Options.test.ts -------------------------------------------------------------------------------- /__tests__/interactions/SlashCommands/SlashCommands.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/__tests__/interactions/SlashCommands/SlashCommands.test.ts -------------------------------------------------------------------------------- /__tests__/messages/embed.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/__tests__/messages/embed.test.ts -------------------------------------------------------------------------------- /__tests__/messages/formatters.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/__tests__/messages/formatters.test.ts -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/babel.config.js -------------------------------------------------------------------------------- /codecov.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/codecov.yml -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- 1 | ## [View the documentation here.](https://discord.js.org/#/docs/builders) 2 | -------------------------------------------------------------------------------- /docs/examples/Slash Command Builders.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/docs/examples/Slash Command Builders.md -------------------------------------------------------------------------------- /docs/index.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/docs/index.yml -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/package.json -------------------------------------------------------------------------------- /scripts/docs.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/scripts/docs.mjs -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/interactions/contextMenuCommands/Assertions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/src/interactions/contextMenuCommands/Assertions.ts -------------------------------------------------------------------------------- /src/interactions/contextMenuCommands/ContextMenuCommandBuilder.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/src/interactions/contextMenuCommands/ContextMenuCommandBuilder.ts -------------------------------------------------------------------------------- /src/interactions/slashCommands/Assertions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/src/interactions/slashCommands/Assertions.ts -------------------------------------------------------------------------------- /src/interactions/slashCommands/SlashCommandBuilder.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/src/interactions/slashCommands/SlashCommandBuilder.ts -------------------------------------------------------------------------------- /src/interactions/slashCommands/SlashCommandSubcommands.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/src/interactions/slashCommands/SlashCommandSubcommands.ts -------------------------------------------------------------------------------- /src/interactions/slashCommands/mixins/ApplicationCommandNumericOptionMinMaxValueMixin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/src/interactions/slashCommands/mixins/ApplicationCommandNumericOptionMinMaxValueMixin.ts -------------------------------------------------------------------------------- /src/interactions/slashCommands/mixins/ApplicationCommandOptionBase.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/src/interactions/slashCommands/mixins/ApplicationCommandOptionBase.ts -------------------------------------------------------------------------------- /src/interactions/slashCommands/mixins/ApplicationCommandOptionChannelTypesMixin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/src/interactions/slashCommands/mixins/ApplicationCommandOptionChannelTypesMixin.ts -------------------------------------------------------------------------------- /src/interactions/slashCommands/mixins/ApplicationCommandOptionWithChoicesAndAutocompleteMixin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/src/interactions/slashCommands/mixins/ApplicationCommandOptionWithChoicesAndAutocompleteMixin.ts -------------------------------------------------------------------------------- /src/interactions/slashCommands/mixins/NameAndDescription.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/src/interactions/slashCommands/mixins/NameAndDescription.ts -------------------------------------------------------------------------------- /src/interactions/slashCommands/mixins/SharedSlashCommandOptions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/src/interactions/slashCommands/mixins/SharedSlashCommandOptions.ts -------------------------------------------------------------------------------- /src/interactions/slashCommands/options/boolean.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/src/interactions/slashCommands/options/boolean.ts -------------------------------------------------------------------------------- /src/interactions/slashCommands/options/channel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/src/interactions/slashCommands/options/channel.ts -------------------------------------------------------------------------------- /src/interactions/slashCommands/options/integer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/src/interactions/slashCommands/options/integer.ts -------------------------------------------------------------------------------- /src/interactions/slashCommands/options/mentionable.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/src/interactions/slashCommands/options/mentionable.ts -------------------------------------------------------------------------------- /src/interactions/slashCommands/options/number.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/src/interactions/slashCommands/options/number.ts -------------------------------------------------------------------------------- /src/interactions/slashCommands/options/role.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/src/interactions/slashCommands/options/role.ts -------------------------------------------------------------------------------- /src/interactions/slashCommands/options/string.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/src/interactions/slashCommands/options/string.ts -------------------------------------------------------------------------------- /src/interactions/slashCommands/options/user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/src/interactions/slashCommands/options/user.ts -------------------------------------------------------------------------------- /src/messages/embed/Assertions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/src/messages/embed/Assertions.ts -------------------------------------------------------------------------------- /src/messages/embed/Embed.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/src/messages/embed/Embed.ts -------------------------------------------------------------------------------- /src/messages/formatters.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/src/messages/formatters.ts -------------------------------------------------------------------------------- /tsconfig.eslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/tsconfig.eslint.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsup.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discordjs/builders/HEAD/tsup.config.ts --------------------------------------------------------------------------------