BulkOverwrite usecase

I'm trying to use BulkOverwrite to let sapphire handle all my commands but whenever I start the bot sapphire recreates some old commands which I already deleted. As far as I understand it BulkOverwrite should only register commands which are inside the project and not already deleted commands which are cached by discord Am I missing something or does BulkOverwrite work differently then I think?
Solution:
delete your dist folder and recompile. TS will never delete files when the source TS files are deleted.
Jump to solution
4 Replies
Favna
Favna2y ago
Are you using TypeScript?
Fabian
FabianOP2y ago
yeah
Solution
Favna
Favna2y ago
delete your dist folder and recompile. TS will never delete files when the source TS files are deleted.
Fabian
FabianOP2y ago
Worked perfectly. Thanks for the help!
Want results from more Discord servers?
Add your server