change wording for incorrect syntax
This commit is contained in:
parent
4718d523d9
commit
aec3083b42
@ -32,7 +32,7 @@ const searchTrack = event => {
|
|||||||
let match = event.message.match(pattern)
|
let match = event.message.match(pattern)
|
||||||
if (!match)
|
if (!match)
|
||||||
return event.reply(
|
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]
|
let query = match[1]
|
||||||
@ -57,7 +57,7 @@ const requestTrack = event => {
|
|||||||
let match = event.message.match(pattern)
|
let match = event.message.match(pattern)
|
||||||
if (!match)
|
if (!match)
|
||||||
return event.reply(
|
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]
|
let query = match[1]
|
||||||
|
Loading…
Reference in New Issue
Block a user