1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-12-22 21:13:18 +00:00

Update index.js

This commit is contained in:
MatteZ02 2019-06-13 10:43:06 +03:00
parent 4a85a7e842
commit b8dc88ed85

View File

@ -199,9 +199,11 @@ Please provide a value to select one of the search results ranging from __1-10__
} }
return msg.channel.send(':x: There is nothing playing.'); return msg.channel.send(':x: There is nothing playing.');
} }
if (msg.content === `${PREFIX}`) return;
msg.channel.send(':x: Unknown command! Type -help for the list of commands!') msg.channel.send(':x: Unknown command! Type -help for the list of commands!')
return undefined; return undefined;
} }
if (msg.content === `${PREFIX}`) return;
msg.channel.send(':x: Unknown command! Type -help for the list of commands!') msg.channel.send(':x: Unknown command! Type -help for the list of commands!')
} }
else { else {