Skip to content

Commit

Permalink
feat!: rename subcommand group root to 'groups'
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyameliaaaa committed Apr 17, 2023
1 parent 4387c13 commit 156973a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/subcommands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export class SlashCommandSubcommandGroupBuilder {

hydrateSelf(baseKey: string) {
if (this.baseKey) {
this.baseKey = joinKeys([baseKey, 'subcommands', this.baseKey]).slice(0);
this.baseKey = joinKeys([baseKey, 'groups', this.baseKey]).slice(0);

this.setName(getDefaultString(joinKeys([this.baseKey, 'name']), 'commands'));
this.setDescription(getDefaultString(joinKeys([this.baseKey, 'description']), 'commands'));
Expand Down

0 comments on commit 156973a

Please sign in to comment.