mirror of
https://github.com/janderedev/automod.git
synced 2024-12-22 18:55:28 +00:00
500 iq
This commit is contained in:
parent
2fbdcf26d7
commit
a82d03f5cc
|
@ -37,7 +37,7 @@ client.on('message', async message => {
|
||||||
} else if (cmdName.startsWith(guildPrefix)) {
|
} else if (cmdName.startsWith(guildPrefix)) {
|
||||||
cmdName = cmdName.substr(guildPrefix.length);
|
cmdName = cmdName.substr(guildPrefix.length);
|
||||||
if (config.spaceAfterPrefix && !cmdName) cmdName = args.shift() ?? '';
|
if (config.spaceAfterPrefix && !cmdName) cmdName = args.shift() ?? '';
|
||||||
}
|
} else return;
|
||||||
|
|
||||||
if (!cmdName) return;
|
if (!cmdName) return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue