This commit is contained in:
Matthieu Grieger 2016-06-25 12:27:51 -07:00
parent b24417deda
commit 48ce224596
3 changed files with 5 additions and 2 deletions

View file

@ -1,6 +1,9 @@
MumbleDJ Changelog MumbleDJ Changelog
================== ==================
### June 25, 2016 -- `v3.0.6`
* Fixed an issue with `!forceskip` not stopping audio playback.
### June 25, 2016 -- `v3.0.5` ### June 25, 2016 -- `v3.0.5`
* Fixed admin settings not being respected. * Fixed admin settings not being respected.

View file

@ -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")) 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"), return fmt.Sprintf(viper.GetString("commands.forceskip.messages.track_skipped"),
user.Name), false, nil user.Name), false, nil

View file

@ -32,7 +32,7 @@ func init() {
services.DJ = DJ services.DJ = DJ
bot.DJ = DJ bot.DJ = DJ
DJ.Version = "v3.0.5" DJ.Version = "v3.0.6"
logrus.SetLevel(logrus.WarnLevel) logrus.SetLevel(logrus.WarnLevel)
} }