change wording for incorrect syntax

This commit is contained in:
notnull 2019-12-25 02:23:29 -05:00
parent 4718d523d9
commit aec3083b42

View File

@ -32,7 +32,7 @@ const searchTrack = event => {
let match = event.message.match(pattern)
if (!match)
return event.reply(
'Incorrect syntax. Use !search "track name" artist "artist name" (artist and artist name optional)'
'Use !search "track name" artist "artist name" (artist and artist name optional)'
)
let query = match[1]
@ -57,7 +57,7 @@ const requestTrack = event => {
let match = event.message.match(pattern)
if (!match)
return event.reply(
'Incorrect syntax. Use !request "track name" artist "artist name" (artist and artist name optional)'
'Use !request "track name" artist "artist name" (artist and artist name optional)'
)
let query = match[1]