Skip to content

Commit

Permalink
chore(Deps): update discord-api-types (discordjs#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
vladfrangu authored Aug 1, 2021
1 parent c213a6a commit f0912b5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"homepage": "https://github.com/discordjs/builders#readme",
"dependencies": {
"@sindresorhus/is": "^4.0.1",
"discord-api-types": "^0.19.0",
"discord-api-types": "^0.22.0",
"ow": "^0.26.0",
"ts-mixer": "^5.4.1",
"tslib": "^2.3.0"
Expand Down
4 changes: 2 additions & 2 deletions src/interactions/slashCommands/SlashCommandSubCommands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export class SlashCommandSubCommandGroupBuilder implements ToAPIApplicationComma
public toJSON() {
validateRequiredParameters(this.name, this.description, this.options);
return {
type: ApplicationCommandOptionType.SubCommandGroup,
type: ApplicationCommandOptionType.SubcommandGroup,
name: this.name,
description: this.description,
options: this.options.map((option) => option.toJSON()),
Expand Down Expand Up @@ -90,7 +90,7 @@ export class SlashCommandSubCommandBuilder implements ToAPIApplicationCommandOpt
public toJSON() {
validateRequiredParameters(this.name, this.description, this.options);
return {
type: ApplicationCommandOptionType.SubCommand,
type: ApplicationCommandOptionType.Subcommand,
name: this.name,
description: this.description,
options: this.options.map((option) => option.toJSON()),
Expand Down

0 comments on commit f0912b5

Please sign in to comment.