diff options
| author | Tiago Grosso <[email protected]> | 2024-08-27 11:11:43 +0100 |
|---|---|---|
| committer | Tiago Grosso <[email protected]> | 2024-08-27 11:11:43 +0100 |
| commit | 8e7e12c8dfa39d4ce779b8fdcbdfd0cfe7425269 (patch) | |
| tree | 455f9d37f53f848c361ab63724e84b5ee464b401 /src | |
| parent | 0912d957918cb93b0d0607d305fd9d92c1f1cce5 (diff) | |
| download | muse-8e7e12c8dfa39d4ce779b8fdcbdfd0cfe7425269.tar.xz muse-8e7e12c8dfa39d4ce779b8fdcbdfd0cfe7425269.zip | |
fix: limit queue size to 30
Diffstat (limited to 'src')
| -rw-r--r-- | src/commands/config.ts | 2 | ||||
| -rw-r--r-- | src/commands/queue.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/config.ts b/src/commands/config.ts index c9aa0e3..91b2578 100644 --- a/src/commands/config.ts +++ b/src/commands/config.ts @@ -63,7 +63,7 @@ export default class implements Command { .setName('page-size') .setDescription('page size of the /queue command') .setMinValue(1) - .setMaxValue(50) + .setMaxValue(30) .setRequired(true))) .addSubcommand(subcommand => subcommand .setName('get') diff --git a/src/commands/queue.ts b/src/commands/queue.ts index 60472b0..fd3674a 100644 --- a/src/commands/queue.ts +++ b/src/commands/queue.ts @@ -20,7 +20,7 @@ export default class implements Command { .setName('page-size') .setDescription('how many items to display per page [default: 10, max: 50]') .setMinValue(1) - .setMaxValue(50) + .setMaxValue(30) .setRequired(false)); private readonly playerManager: PlayerManager; |
