MAYBE a bug with subcommands
/
Solution:Jump to solution
oh, going through src I figured that event's name must be
PluginMessageSubcommandNoMatch
5 Replies
So
I did this
my file name is
messageSubcommandNoMatch.ts
sapphire client looks like this
when I run command money

I get this
BUT
2025-03-31 01:34:32 - ERROR - Unable to match a subcommand on message command "money" at path "C:\Users\Aldin\Desktop\mommy-bot\src\commands\message\economy\money.ts" with content money
I still get this error in consoleSolution
oh, going through src I figured that event's name must be
PluginMessageSubcommandNoMatch
can't really understand why or how does sapphire handle this
but it's defined as MessageSubcommandNoMatch
anyways, it's resolved