mirror of
https://github.com/BluemediaDev/muse.git
synced 2025-08-05 23:43:30 +02:00
Added skip currently playing track option into the /play options. (#1046)
Co-authored-by: Max Isom <hi@maxisom.me>
This commit is contained in:
parent
62b1abcba0
commit
d7261260a3
4 changed files with 25 additions and 4 deletions
|
@ -29,7 +29,10 @@ export default class implements Command {
|
|||
.setDescription('shuffle the input if you\'re adding multiple tracks'))
|
||||
.addBooleanOption(option => option
|
||||
.setName('split')
|
||||
.setDescription('if a track has chapters, split it'));
|
||||
.setDescription('if a track has chapters, split it'))
|
||||
.addBooleanOption(option => option
|
||||
.setName('skip')
|
||||
.setDescription('skip the currently playing track'));
|
||||
|
||||
public requiresVC = true;
|
||||
|
||||
|
@ -52,6 +55,7 @@ export default class implements Command {
|
|||
addToFrontOfQueue: interaction.options.getBoolean('immediate') ?? false,
|
||||
shuffleAdditions: interaction.options.getBoolean('shuffle') ?? false,
|
||||
shouldSplitChapters: interaction.options.getBoolean('split') ?? false,
|
||||
skipCurrentTrack: interaction.options.getBoolean('skip') ?? false,
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue