diff --git a/service_soundcloud.go b/service_soundcloud.go index 3491d99..d49498b 100644 --- a/service_soundcloud.go +++ b/service_soundcloud.go @@ -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") diff --git a/strings.go b/strings.go index ec69cf5..76b7541 100644 --- a/strings.go +++ b/strings.go @@ -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 = ` - %s has voted to skip the current %s. + %s 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 %s, the submitter. + The current playlist has been skipped by %s, the submitter. ` // Message shown to users when they successfully change the volume.