mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-03 14:38:49 +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
@@ -23,7 +23,7 @@ class QueueCommand extends BaseSlashCommandInteraction {
|
||||
const data = new SlashCommandBuilder()
|
||||
.setName('queue')
|
||||
.setDescription('Show tracks that have been added to the queue.')
|
||||
.addNumberOption((option) =>
|
||||
.addIntegerOption((option) =>
|
||||
option.setName('page').setDescription('Page number to display for the queue').setMinValue(1)
|
||||
);
|
||||
super(data);
|
||||
|
||||
Reference in new issue
Block a user