Fix lint issue

This commit is contained in:
Max Isom 2022-03-19 11:04:20 -04:00
parent 46df0875d5
commit bd0e37e0b8
No known key found for this signature in database
GPG key ID: 25C9B1A7F6798880
3 changed files with 11 additions and 13 deletions

View file

@ -19,7 +19,7 @@ export default class implements Command {
option.setName('to')
.setDescription('position to move the song to')
.setRequired(true));
private readonly playerManager: PlayerManager;
constructor(@inject(TYPES.Managers.Player) playerManager: PlayerManager) {
@ -37,7 +37,7 @@ export default class implements Command {
}
if (to < 1) {
throw new Error('position must be at least 1')
throw new Error('position must be at least 1');
}
player.move(from, to);