Error please help
2024-04-23 21:57:10 - ERROR - Encountered error on chat input command "sollicitatie" at path "C:\Users\femke\OneDrive\Documents\BOTDIRK\DirkBot\dist\commands\General\sollicitatie.js" UserError: No subcommand was matched with the provided command.
19 Replies
I'm not sure if this is your error, but you need to add subcommands to the builder. Ex:
oh no not enough Dutch person in this server @A guy named Jensbot
oh
inb4 applying for a job at the Dirk shop or something
Dirk 🤔
lol Dirk bot
look out in a few week AH comes knocking and asks for help with their bot
lmao
Time to monitor https://www.ah.nl/over-ah/innovatie/labs
Labs | Albert Heijn
Bonusaanbiedingen, recepten, openingstijden en online boodschappen doen. Gewoon bij Albert Heijn.
really wonder if this is actually for dirk. ngl getting discounts in discord sound like a likely future
btw @Tessa on topic I think @Lioness100 answered your question already, you can ignore our banter. Or join I guess. We Dutch are weird like that tbh.
This is not for dirk
It's also a male name
It's for my friends server
I think we all know, it's a very common name after all 🙂
btw assuming you're tracking the code with git I recommend moving it out of your OneDrive folder. OneDrive can be fucky with git.
Exactly
Oh damn
there's too many tiny files in the
.git
folder for OneDrive (or any drive sync for that matter) to properly trackAg
Ah
I'm used to Linux
I didn't even install onedrive rip
btw you were also mixing messageRun (mesage based commands) and Chat Input Commands above
I'm new to this framework xd
your subcommands config suggests message commands but your question suggests chat input commands
https://sapphirejs.dev that's what we have a guide for
Sapphire Framework
Home | Sapphire
Sapphire is a next-gen Discord bot framework for developers of all skill levels to make the best JavaScript/TypeScript based bots possible.