mirror of
https://github.com/BluemediaDev/muse.git
synced 2025-06-27 09:12:43 +02:00
/move command now shows the track that was moved and its position (#610)
This commit is contained in:
parent
ce017090e1
commit
bd749d95a9
3 changed files with 7 additions and 3 deletions
|
@ -40,8 +40,8 @@ export default class implements Command {
|
|||
throw new Error('position must be at least 1');
|
||||
}
|
||||
|
||||
player.move(from, to);
|
||||
const {title} = player.move(from, to);
|
||||
|
||||
await interaction.reply('moved');
|
||||
await interaction.reply('moved **' + title + '** to position **' + String(to) + '**');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue