Skip to content

Commit 5cc249b

Browse files
committed
fix command
1 parent 3291687 commit 5cc249b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/commands/update-check.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,7 @@ class UserCommand extends Command {
1919
super(context, {
2020
// Any Command options you want here
2121
name: "update-check",
22-
description: "List mods for the specified version".addStringOption(
23-
(option) =>
24-
option //
25-
.setName("version"),
26-
),
22+
description: "List mods for the specified version",
2723
});
2824
}
2925

@@ -35,6 +31,10 @@ class UserCommand extends Command {
3531
builder //
3632
.setName(this.name)
3733
.setDescription(this.description)
34+
.addStringOption((option) =>
35+
option //
36+
.setName("version"),
37+
)
3838
.setDefaultMemberPermissions(PermissionFlagsBits.Administrator),
3939
);
4040
}

0 commit comments

Comments
 (0)