Skip to content

Commit a5c101e

Browse files
authored
Merge pull request #3 from dan5py/fix/number-break
fix: add missing break in NUMBER options
2 parents b9c0057 + 3e5955d commit a5c101e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/loaders/slashCommands.ts

+1
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ function addCommandOptions(
164164
optionBuilder.setMaxValue(numberOption.maxValue)
165165
return optionBuilder
166166
})
167+
break
167168
}
168169
case "BOOLEAN": {
169170
commandBuilder.addBooleanOption((optionBuilder) => {

0 commit comments

Comments
 (0)