Difficulty should be optional, too

This commit is contained in:
zkldi
2022-03-28 19:27:50 +01:00
parent a9c292e1d5
commit ebdd13a79d
+1 -4
View File
@@ -20,10 +20,7 @@ const command: SlashCommand = {
.setRequired(true)
)
.addStringOption((str) =>
str
.setName("difficulty")
.setDescription("The difficulty of chart to return.")
.setRequired(true)
str.setName("difficulty").setDescription("The difficulty of chart to return.")
)
.addStringOption(OtherUserOption)
.toJSON(),