fjdgkhsglfkjgh

This commit is contained in:
skye 2021-10-21 14:58:02 +09:00
parent 1a61f89856
commit d619bba9f2
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ bot.on('messageCreate', async (msg) => {
const params = content.replace(prefix, '').split(' ');
const cmd = params[0];
if (!msg.guild) return;
if (!msg.guild || !content.startsWith(prefix)) return;
if ((cmd === 'play' || cmd === 'p') && params[1]) {
const connection = await checkVoiceChannel(msg);