fix subcommand groups (#160)

This commit is contained in:
JustEvil 2024-03-25 23:09:07 -06:00 committed by GitHub
parent 0ab003f8d6
commit 9c42027676
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -80,7 +80,7 @@ export async function onMessageCreate(
const content = message.content.slice(prefix.length).trimStart(); const content = message.content.slice(prefix.length).trimStart();
const { fullCommandName, command, parent } = getCommandFromContent( const { fullCommandName, command, parent } = getCommandFromContent(
content.split(' ').filter(x => x), content.split(' ').filter(x => x).slice(0, 3),
self, self,
); );