Merge pull request 'now-playing: タグを追加' (#22) from now-playing into master
Reviewed-on: #22
This commit is contained in:
		
						commit
						d7d71a78b3
					
				|  | @ -78,7 +78,7 @@ func main() { | |||
| 		before, _ := strings.CutSuffix(builder.String(), ",") | ||||
| 		text := fmt.Sprintf("[<plain>%s</plain>](<https://open.spotify.com/track/%s>)\\n<small>%s</small>", playing.Item.Name, playing.Item.ID, before) | ||||
| 
 | ||||
| 		body := fmt.Sprintf("{  \"visibility\" : \"home\",  \"text\": \"%s\\n\\n#NowPlaying\"}", text) | ||||
| 		body := fmt.Sprintf("{  \"visibility\" : \"home\",  \"text\": \"%s\\n\\n#NowPlaying #usbharu_NowPlaying \"}", text) | ||||
| 
 | ||||
| 		request, err := http.NewRequest("POST", endpoint, strings.NewReader(body)) | ||||
| 		if err != nil { | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue