Add invalid subcommand error
This commit is contained in:
parent
39ca3ee322
commit
7de04136e2
1 changed files with 1 additions and 0 deletions
|
@ -25,6 +25,7 @@ module.exports = {
|
|||
sendText = await getTopTracks(message.author.id, args);
|
||||
break;
|
||||
default:
|
||||
sendText = `${args[0]} is not a valid subcommand.\nSee \`${prefix}help fm\` for more info.`;
|
||||
break;
|
||||
}
|
||||
if(args.length < 1){
|
||||
|
|
Loading…
Add table
Reference in a new issue