prefer addIntegerOption over addNumberOption
This commit is contained in:
parent
e2ff3e9594
commit
f11c7681f0
|
@ -6,7 +6,7 @@ module.exports = {
|
|||
data: new SlashCommandBuilder()
|
||||
.setName('decrease')
|
||||
.setDescription('Decrease the counter')
|
||||
.addNumberOption((option) =>
|
||||
.addIntegerOption((option) =>
|
||||
option
|
||||
.setName('amount')
|
||||
.setRequired(false)
|
||||
|
|
|
@ -6,7 +6,7 @@ module.exports = {
|
|||
data: new SlashCommandBuilder()
|
||||
.setName('increase')
|
||||
.setDescription('Increase the counter')
|
||||
.addNumberOption((option) =>
|
||||
.addIntegerOption((option) =>
|
||||
option
|
||||
.setName('amount')
|
||||
.setRequired(false)
|
||||
|
|
Loading…
Reference in New Issue