This commit is contained in:
JandereDev 2021-10-12 16:18:08 +02:00
parent 2fbdcf26d7
commit a82d03f5cc
Signed by: Lea
GPG key ID: 5D5E18ACB990F57A

View file

@ -37,7 +37,7 @@ client.on('message', async message => {
} else if (cmdName.startsWith(guildPrefix)) {
cmdName = cmdName.substr(guildPrefix.length);
if (config.spaceAfterPrefix && !cmdName) cmdName = args.shift() ?? '';
}
} else return;
if (!cmdName) return;