I created a CommandConstructor but when adding options to it, it always gives me following error:
WizRepoBot\node_modules\@discordjs\builders\dist\index.js:1335
return this._sharedAddOptionMethod(input, SlashCommandStringOption);
^
TypeError: Cannot read properties of undefined (reading '_sharedAddOptionMethod')
at addStringOption (D:\Phill030\WizRepoBot\node_modules\@discordjs\builders\dist\index.js:1335:17)
at new Command (file:///D:/Phill030/WizRepoBot/dist/constructor/Command.js:1:883)
at Function.Create (file:///D:/Phill030/WizRepoBot/dist/constructor/Command.js:1:483)
at file:///D:/Phill030/WizRepoBot/dist/commands/ref.js:1:77
at ModuleJob.run (node:internal/modules/esm/module_job:185:25)
at async Promise.all (index 0)
at async ESMLoader.import (node:internal/modules/esm/loader:281:24)
at async Function.init (file:///D:/Phill030/WizRepoBot/dist/index.js:1:338)
Constructor: