feat: add ytquery and ytplay

This commit is contained in:
Terry Geng
2020-03-02 11:23:16 +08:00
parent aa2155b6ca
commit e17d5446bf
4 changed files with 78 additions and 1 deletions

View File

@ -126,6 +126,9 @@ play_playlist = playlist
rb_query = rbquery
rb_play = rbplay
yt_query = ytquery
yt_play = ytplay
help = help
pause = pause
play = p, play
@ -199,6 +202,10 @@ unknown_mode = Unknown playback mode '{mode}'. It should be one of <i>one-shot</
current_mode = Current playback mode is <i>{mode}</i>.
change_mode = Playback mode set to <i>{mode}</i> by {user}.
repeat = Repeat {song} for {n} times.
yt_result = Youtube query result: {result_table} Use <i>!ytplay</i> {{index}} to play the item you want. <br />
<i>!ytquery -n</i> for the next page.
yt_no_more = No more results!
yt_query_error = Unable to query youtube!
help = <h3>Commands</h3>
<b>Control</b>