Fix /fseek

https://github.com/codetheweb/muse/issues/609
This commit is contained in:
Max Isom 2022-03-27 12:01:46 -04:00
parent 7846970f92
commit c421529998
No known key found for this signature in database
GPG key ID: 25C9B1A7F6798880
2 changed files with 3 additions and 1 deletions

View file

@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
### Fixed
- `/fseek` now works again
## [1.8.1] - 2022-03-26
### Changed

View file

@ -38,7 +38,7 @@ export default class implements Command {
throw new Error('can\'t seek in a livestream');
}
const seekValue = interaction.options.getString('value');
const seekValue = interaction.options.getString('time');
if (!seekValue) {
throw new Error('missing seek value');