mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-22 14:53:17 +00:00
Replace forgotten older prefix
This commit is contained in:
parent
a527f84c29
commit
c424c93330
6
index.js
6
index.js
@ -182,7 +182,7 @@ ${serverQueue.songs.map(song => `**-** ${song.title}`).join("\n")}
|
|||||||
return msg.channel.send(':x: There is nothing playing.');
|
return msg.channel.send(':x: There is nothing playing.');
|
||||||
}
|
}
|
||||||
if (msg.content === `${PREFIX}`) return;
|
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 ${PREFIX}help for the list of commands!`)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (msg.content === `${PREFIX}`) return;
|
if (msg.content === `${PREFIX}`) return;
|
||||||
@ -195,7 +195,7 @@ ${serverQueue.songs.map(song => `**-** ${song.title}`).join("\n")}
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
msg.channel.send(':x: Unknown command! Type -help for the list of commands!')
|
msg.channel.send(`:x: Unknown command! Type ${PREFIX}help for the list of commands!`)
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
const args = msg.content.split(' ');
|
const args = msg.content.split(' ');
|
||||||
@ -312,7 +312,7 @@ ${serverQueue.songs.map(song => `**-** ${song.title}`).join("\n")}
|
|||||||
if (msg.content === `${PREFIX}`) {
|
if (msg.content === `${PREFIX}`) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
msg.channel.send(':x: Unknown command! Type -help for the list of commands!')
|
msg.channel.send(`:x: Unknown command! Type ${PREFIX}help for the list of commands!`)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user