aboutsummaryrefslogtreecommitdiff
path: root/src/commands
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands')
-rw-r--r--src/commands/queue.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/queue.ts b/src/commands/queue.ts
index dcc674a..d627c7f 100644
--- a/src/commands/queue.ts
+++ b/src/commands/queue.ts
@@ -16,7 +16,7 @@ export default class implements Command {
.setDescription('page of queue to show [default: 1]')
.setRequired(false))
.addIntegerOption(option => option
- .setName('pageSize')
+ .setName('page-size')
.setDescription('how many items to display per page [default: 10]')
.setRequired(false));
@@ -32,7 +32,7 @@ export default class implements Command {
const embed = buildQueueEmbed(
player,
interaction.options.getInteger('page') ?? 1,
- interaction.options.getInteger('pageSize') ?? 10,
+ interaction.options.getInteger('page-size') ?? 10,
);
await interaction.reply({embeds: [embed]});