From 12b7cb3a772a9a8fa0a8d11d9a12c89af361f9b6 Mon Sep 17 00:00:00 2001 From: Matthieu Grieger Date: Thu, 14 May 2015 10:44:28 -0700 Subject: [PATCH] Fixed error message for videos exceeding time limit not showing --- commands.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands.go b/commands.go index 8e37511..a313ae6 100644 --- a/commands.go +++ b/commands.go @@ -201,7 +201,7 @@ func add(user *gumble.User, username, url string) { dj.queue.OnSongFinished() } } - } else if fmt.Sprint(err) == "video exceeds the maximum allowed duration." { + } else if fmt.Sprint(err) == "Song exceeds the maximum allowed duration." { dj.SendPrivateMessage(user, VIDEO_TOO_LONG_MSG) } else if fmt.Sprint(err) == "Invalid API key supplied." { dj.SendPrivateMessage(user, INVALID_API_KEY)