Fix https://github.com/matthieugrieger/mumbledj/issues/156: Audio not stopping after forceskip
This commit is contained in:
parent
b24417deda
commit
48ce224596
|
@ -1,6 +1,9 @@
|
|||
MumbleDJ Changelog
|
||||
==================
|
||||
|
||||
### June 25, 2016 -- `v3.0.6`
|
||||
* Fixed an issue with `!forceskip` not stopping audio playback.
|
||||
|
||||
### June 25, 2016 -- `v3.0.5`
|
||||
* Fixed admin settings not being respected.
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@ func (c *ForceSkipCommand) Execute(user *gumble.User, args ...string) (string, b
|
|||
return "", true, errors.New(viper.GetString("commands.common_messages.no_tracks_error"))
|
||||
}
|
||||
|
||||
DJ.Queue.Skip()
|
||||
DJ.Queue.StopCurrent()
|
||||
|
||||
return fmt.Sprintf(viper.GetString("commands.forceskip.messages.track_skipped"),
|
||||
user.Name), false, nil
|
||||
|
|
Reference in a new issue