Skip to content

Commit

Permalink
只猜本地歌曲
Browse files Browse the repository at this point in the history
chore(lint): 改进代码样式
  • Loading branch information
vatebur committed Jan 22, 2024
1 parent a3cd460 commit 74bb3e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/guessmusic/guessmusic.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ func init() {
tick.Stop()
after.Stop()
ctx.SendChain(message.Reply(c.Event.MessageID), messageStr)
//歌曲结束后不发送完整歌曲
// 歌曲结束后不发送完整歌曲
//ctx.SendChain(message.Record("file:///" + pathOfMusic + musicName))
} else {
wait.Reset(40 * time.Second)
Expand Down Expand Up @@ -214,7 +214,7 @@ func musicLottery(musicPath, listName string) (pathOfMusic, musicName string, er
if playlistID == 0 || !cfg.API {
musicName = getLocalMusic(files, 10)
} else {
switch 1 { //不走API只猜本地
switch 1 { // 不走API只猜本地
case 1:
musicName = getLocalMusic(files, 10)
default:
Expand Down

0 comments on commit 74bb3e0

Please sign in to comment.