aboutsummaryrefslogtreecommitdiff
path: root/src/commands
diff options
context:
space:
mode:
authorRithwik Rayani <[email protected]>2022-03-30 04:08:24 +0530
committerGitHub <[email protected]>2022-03-29 17:38:24 -0500
commitbd749d95a95fa9667ffb7bbf905b5b07a529c7da (patch)
tree91c1c616b237084a06a76fff80f1938a2d6870fd /src/commands
parentce017090e1c2db0a214e959e437d29fd8069fd05 (diff)
downloadmuse-bd749d95a95fa9667ffb7bbf905b5b07a529c7da.tar.xz
muse-bd749d95a95fa9667ffb7bbf905b5b07a529c7da.zip
/move command now shows the track that was moved and its position (#610)
Diffstat (limited to 'src/commands')
-rw-r--r--src/commands/move.ts4
1 files changed, 2 insertions, 2 deletions
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) + '**');
}
}