refactor: changed all 'loop' into 'repeat', which is the term used in iTunes

This commit is contained in:
Terry Geng
2020-02-26 23:37:53 +08:00
parent 76547886d1
commit a46a1d7073
6 changed files with 9 additions and 9 deletions

View File

@ -611,7 +611,7 @@ def cmd_mode(bot, user, text, command, parameter):
if not parameter:
bot.send_msg(constants.strings("current_mode", mode=var.playlist.mode), text)
return
if not parameter in ["one-shot", "loop", "random"]:
if not parameter in ["one-shot", "repeat", "random"]:
bot.send_msg(constants.strings('unknown_mode', mode=parameter), text)
else:
var.db.set('playlist', 'playback_mode', parameter)