mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-03 22:15:37 +00:00
fix: change addNumberOption to addIntegerOption
This commit is contained in:
1 parent
47f45a559f
commit
6ca7ce3e4b
8 files changed
+11
-9
No files matched your search
@@ -31,12 +31,14 @@ class RemoveCommand extends BaseSlashCommandInteraction {
|
||||
option
|
||||
.setName('start')
|
||||
.setDescription('The starting position of the range to remove')
|
||||
.setMinValue(1)
|
||||
.setRequired(true)
|
||||
)
|
||||
.addIntegerOption((option) =>
|
||||
option
|
||||
.setName('end')
|
||||
.setDescription('The ending position of the range to remove')
|
||||
.setMinValue(1)
|
||||
.setRequired(true)
|
||||
)
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user