Skip to content

Commit

Permalink
add help
Browse files Browse the repository at this point in the history
  • Loading branch information
FengLiuFeseliud committed Jul 3, 2024
1 parent 172a1a1 commit e8ac6ae
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/main/java/fengliu/cloudmusic/command/MusicCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,13 @@ public class MusicCommand {
Text.translatable("cloudmusic.help.dj.comment"),
Text.translatable("cloudmusic.help.dj.hot.comment"),

Text.translatable("cloudmusic.help.comment"),
Text.translatable("cloudmusic.help.comment.floors"),
Text.translatable("cloudmusic.help.comment.like"),
Text.translatable("cloudmusic.help.comment.unlike"),
Text.translatable("cloudmusic.help.comment.delete"),
Text.translatable("cloudmusic.help.comment.reply"),

Text.translatable("cloudmusic.help.user"),
Text.translatable("cloudmusic.help.user.playlist"),
Text.translatable("cloudmusic.help.user.dj"),
Expand Down
6 changes: 6 additions & 0 deletions src/main/resources/assets/cloudmusic/lang/zh_cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@
"cloudmusic.help.dj.unsubscribe": "取消收藏电台 /cloudmusic dj unsubscribe [id]",
"cloudmusic.help.dj.comment": "获取电台评论 /cloudmusic dj comment [id]",
"cloudmusic.help.dj.hot.comment": "获取电台热评 /cloudmusic dj hotComment [id]",
"cloudmusic.help.comment": "查看评论 /cloudmusic comment [commentId] [threadId]",
"cloudmusic.help.comment.floors": "查看评论的子评论 /cloudmusic comment floors [commentId] [threadId]",
"cloudmusic.help.comment.like": "点赞评论 /cloudmusic comment like [commentId] [threadId]",
"cloudmusic.help.comment.unlike": "取消点赞评论 /cloudmusic comment unlike [commentId] [threadId]",
"cloudmusic.help.comment.delete": "删除评论 /cloudmusic comment delete [commentId] [threadId]",
"cloudmusic.help.comment.reply": "回复评论 /cloudmusic comment reply [commentId] [threadId] [content]",
"cloudmusic.help.user": "获取用户 /cloudmusic user [id]",
"cloudmusic.help.user.playlist": "获取用户歌单 /cloudmusic user playlist [id]",
"cloudmusic.help.user.dj": "获取用户创建的所有电台 /cloudmusic user dj [id]",
Expand Down

0 comments on commit e8ac6ae

Please sign in to comment.