@discordjs/builders 0.5.0 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -0
- package/README.md +28 -8
- package/dist/index.d.ts +818 -12
- package/dist/index.js +4 -16
- package/dist/index.js.map +7 -1
- package/dist/index.mjs +4 -33
- package/dist/index.mjs.map +7 -0
- package/package.json +65 -53
- package/dist/index.d.ts.map +0 -1
- package/dist/interactions/slashCommands/Assertions.d.ts +0 -11
- package/dist/interactions/slashCommands/Assertions.d.ts.map +0 -1
- package/dist/interactions/slashCommands/Assertions.js +0 -58
- package/dist/interactions/slashCommands/Assertions.js.map +0 -1
- package/dist/interactions/slashCommands/SlashCommandBuilder.d.ts +0 -50
- package/dist/interactions/slashCommands/SlashCommandBuilder.d.ts.map +0 -1
- package/dist/interactions/slashCommands/SlashCommandBuilder.js +0 -96
- package/dist/interactions/slashCommands/SlashCommandBuilder.js.map +0 -1
- package/dist/interactions/slashCommands/SlashCommandSubcommands.d.ts +0 -64
- package/dist/interactions/slashCommands/SlashCommandSubcommands.d.ts.map +0 -1
- package/dist/interactions/slashCommands/SlashCommandSubcommands.js +0 -123
- package/dist/interactions/slashCommands/SlashCommandSubcommands.js.map +0 -1
- package/dist/interactions/slashCommands/mixins/CommandOptionBase.d.ts +0 -20
- package/dist/interactions/slashCommands/mixins/CommandOptionBase.d.ts.map +0 -1
- package/dist/interactions/slashCommands/mixins/CommandOptionBase.js +0 -48
- package/dist/interactions/slashCommands/mixins/CommandOptionBase.js.map +0 -1
- package/dist/interactions/slashCommands/mixins/CommandOptionWithChoices.d.ts +0 -25
- package/dist/interactions/slashCommands/mixins/CommandOptionWithChoices.d.ts.map +0 -1
- package/dist/interactions/slashCommands/mixins/CommandOptionWithChoices.js +0 -59
- package/dist/interactions/slashCommands/mixins/CommandOptionWithChoices.js.map +0 -1
- package/dist/interactions/slashCommands/mixins/CommandOptions.d.ts +0 -48
- package/dist/interactions/slashCommands/mixins/CommandOptions.d.ts.map +0 -1
- package/dist/interactions/slashCommands/mixins/CommandOptions.js +0 -83
- package/dist/interactions/slashCommands/mixins/CommandOptions.js.map +0 -1
- package/dist/interactions/slashCommands/mixins/NameAndDescription.d.ts +0 -15
- package/dist/interactions/slashCommands/mixins/NameAndDescription.d.ts.map +0 -1
- package/dist/interactions/slashCommands/mixins/NameAndDescription.js +0 -42
- package/dist/interactions/slashCommands/mixins/NameAndDescription.js.map +0 -1
- package/dist/interactions/slashCommands/options/boolean.d.ts +0 -7
- package/dist/interactions/slashCommands/options/boolean.d.ts.map +0 -1
- package/dist/interactions/slashCommands/options/boolean.js +0 -18
- package/dist/interactions/slashCommands/options/boolean.js.map +0 -1
- package/dist/interactions/slashCommands/options/channel.d.ts +0 -7
- package/dist/interactions/slashCommands/options/channel.d.ts.map +0 -1
- package/dist/interactions/slashCommands/options/channel.js +0 -18
- package/dist/interactions/slashCommands/options/channel.js.map +0 -1
- package/dist/interactions/slashCommands/options/integer.d.ts +0 -7
- package/dist/interactions/slashCommands/options/integer.d.ts.map +0 -1
- package/dist/interactions/slashCommands/options/integer.js +0 -18
- package/dist/interactions/slashCommands/options/integer.js.map +0 -1
- package/dist/interactions/slashCommands/options/mentionable.d.ts +0 -7
- package/dist/interactions/slashCommands/options/mentionable.d.ts.map +0 -1
- package/dist/interactions/slashCommands/options/mentionable.js +0 -18
- package/dist/interactions/slashCommands/options/mentionable.js.map +0 -1
- package/dist/interactions/slashCommands/options/role.d.ts +0 -7
- package/dist/interactions/slashCommands/options/role.d.ts.map +0 -1
- package/dist/interactions/slashCommands/options/role.js +0 -18
- package/dist/interactions/slashCommands/options/role.js.map +0 -1
- package/dist/interactions/slashCommands/options/string.d.ts +0 -7
- package/dist/interactions/slashCommands/options/string.d.ts.map +0 -1
- package/dist/interactions/slashCommands/options/string.js +0 -18
- package/dist/interactions/slashCommands/options/string.js.map +0 -1
- package/dist/interactions/slashCommands/options/user.d.ts +0 -7
- package/dist/interactions/slashCommands/options/user.d.ts.map +0 -1
- package/dist/interactions/slashCommands/options/user.js +0 -18
- package/dist/interactions/slashCommands/options/user.js.map +0 -1
- package/dist/messages/formatters.d.ts +0 -220
- package/dist/messages/formatters.d.ts.map +0 -1
- package/dist/messages/formatters.js +0 -194
- package/dist/messages/formatters.js.map +0 -1
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -6,28 +6,48 @@
|
|
|
6
6
|
<br />
|
|
7
7
|
<p>
|
|
8
8
|
<a href="https://discord.gg/djs"><img src="https://img.shields.io/discord/222078108977594368?color=5865F2&logo=discord&logoColor=white" alt="Discord server" /></a>
|
|
9
|
-
<a href="https://
|
|
10
|
-
<a href="https://
|
|
9
|
+
<a href="https://www.npmjs.com/package/@discordjs/builders"><img src="https://img.shields.io/npm/v/@discordjs/builders.svg?maxAge=3600" alt="NPM version" /></a>
|
|
10
|
+
<a href="https://www.npmjs.com/package/@discordjs/builders"><img src="https://img.shields.io/npm/dt/@discordjs/builders.svg?maxAge=3600" alt="NPM downloads" /></a>
|
|
11
|
+
<a href="https://github.com/discordjs/builders/actions"><img src="https://github.com/discordjs/builders/workflows/Tests/badge.svg" alt="Build status" /></a>
|
|
11
12
|
<a href="https://codecov.io/gh/discordjs/builders"><img src="https://codecov.io/gh/discordjs/builders/branch/main/graph/badge.svg" alt="Code coverage" /></a>
|
|
12
13
|
</p>
|
|
13
14
|
</div>
|
|
14
15
|
|
|
15
16
|
## Installation
|
|
16
17
|
|
|
17
|
-
|
|
18
|
+
**Node.js 16.6.0 or newer is required.**
|
|
18
19
|
|
|
19
|
-
```sh
|
|
20
|
+
```sh-session
|
|
20
21
|
npm install @discordjs/builders
|
|
21
22
|
yarn add @discordjs/builders
|
|
22
23
|
pnpm add @discordjs/builders
|
|
23
24
|
```
|
|
24
25
|
|
|
25
|
-
## Contribution
|
|
26
|
-
|
|
27
|
-
See [Contributing Guide](https://github.com/discordjs/builders/blob/main/.github/CONTRIBUTING.md).
|
|
28
|
-
|
|
29
26
|
## Examples
|
|
30
27
|
|
|
31
28
|
Here are some examples for the builders and utilities you can find in this package:
|
|
32
29
|
|
|
33
30
|
- [Slash Command Builders](./docs/examples/Slash%20Command%20Builders.md)
|
|
31
|
+
|
|
32
|
+
## Links
|
|
33
|
+
|
|
34
|
+
- [Website](https://discord.js.org/) ([source](https://github.com/discordjs/website))
|
|
35
|
+
- [Documentation](https://discord.js.org/#/docs/builders)
|
|
36
|
+
- [Guide](https://discordjs.guide/) ([source](https://github.com/discordjs/guide))
|
|
37
|
+
See also the [Update Guide](https://discordjs.guide/additional-info/changes-in-v13.html), including updated and removed items in the library.
|
|
38
|
+
- [discord.js Discord server](https://discord.gg/djs)
|
|
39
|
+
- [Discord API Discord server](https://discord.gg/discord-api)
|
|
40
|
+
- [GitHub](https://github.com/discordjs/builders)
|
|
41
|
+
- [NPM](https://www.npmjs.com/package/@discordjs/builders)
|
|
42
|
+
- [Related libraries](https://discord.com/developers/docs/topics/community-resources#libraries)
|
|
43
|
+
|
|
44
|
+
## Contributing
|
|
45
|
+
|
|
46
|
+
Before creating an issue, please ensure that it hasn't already been reported/suggested, and double-check the
|
|
47
|
+
[documentation](https://discord.js.org/#/docs/builders).
|
|
48
|
+
See [the contribution guide](https://github.com/discordjs/builders/blob/main/.github/CONTRIBUTING.md) if you'd like to submit a PR.
|
|
49
|
+
|
|
50
|
+
## Help
|
|
51
|
+
|
|
52
|
+
If you don't understand something in the documentation, you are experiencing problems, or you just need a gentle
|
|
53
|
+
nudge in the right direction, please don't hesitate to join our official [discord.js Server](https://discord.gg/djs).
|