Updated strings to make the word playlist static

This commit is contained in:
MichaelOultram 2015-09-26 17:11:13 +01:00
parent 91a8dcb2bd
commit a610147236
2 changed files with 3 additions and 3 deletions

View file

@ -52,7 +52,7 @@ func (sc SoundCloud) NewRequest(user *gumble.User, url string) ([]Song, error) {
timesplit := strings.Split(url, "#t=")
url = fmt.Sprintf("http://api.soundcloud.com/resolve?url=%s&client_id=%s", timesplit[0], os.Getenv("SOUNDCLOUD_API_KEY"))
if apiResponse, err = PerformGetRequest(url); err != nil {
return nil, errors.New(INVALID_API_KEY)
return nil, errors.New(fmt.Sprintf(INVALID_API_KEY, sc.ServiceName()))
}
tracks, err := apiResponse.ArrayOfObjects("tracks")

View file

@ -132,12 +132,12 @@ const SUBMITTER_SKIP_HTML = `
// Message shown to users when another user votes to skip the current playlist.
const PLAYLIST_SKIP_ADDED_HTML = `
<b>%s</b> has voted to skip the current %s.
<b>%s</b> has voted to skip the current playlist.
`
// Message shown to users when the submitter of a song decides to skip their song.
const PLAYLIST_SUBMITTER_SKIP_HTML = `
The current %s has been skipped by <b>%s</b>, the submitter.
The current playlist has been skipped by <b>%s</b>, the submitter.
`
// Message shown to users when they successfully change the volume.