We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3291687 commit 5cc249bCopy full SHA for 5cc249b
src/commands/update-check.js
@@ -19,11 +19,7 @@ class UserCommand extends Command {
19
super(context, {
20
// Any Command options you want here
21
name: "update-check",
22
- description: "List mods for the specified version".addStringOption(
23
- (option) =>
24
- option //
25
- .setName("version"),
26
- ),
+ description: "List mods for the specified version",
27
});
28
}
29
@@ -35,6 +31,10 @@ class UserCommand extends Command {
35
31
builder //
36
32
.setName(this.name)
37
33
.setDescription(this.description)
34
+ .addStringOption((option) =>
+ option //
+ .setName("version"),
+ )
38
.setDefaultMemberPermissions(PermissionFlagsBits.Administrator),
39
);
40
0 commit comments