From bd749d95a95fa9667ffb7bbf905b5b07a529c7da Mon Sep 17 00:00:00 2001 From: Rithwik Rayani <39290434+therithwikrayani@users.noreply.github.com> Date: Wed, 30 Mar 2022 04:08:24 +0530 Subject: /move command now shows the track that was moved and its position (#610) --- src/commands/move.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/commands') diff --git a/src/commands/move.ts b/src/commands/move.ts index 731e0da..9855c59 100644 --- a/src/commands/move.ts +++ b/src/commands/move.ts @@ -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) + '**'); } } -- cgit v1.2.3