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
Favna17mo ago
Are you using TypeScript?
Fabian
FabianOP17mo ago
yeah
Solution
Favna
Favna17mo ago
delete your dist folder and recompile. TS will never delete files when the source TS files are deleted.
Fabian
FabianOP17mo ago
Worked perfectly. Thanks for the help!
Want results from more Discord servers?
Add your server