I saw a youtube tutorial for making a discord bot using sapphire framework in which the person used decoraters to make command but when i tried i am getting this weird error.
Solution
Are you using
"@sapphire/ts-config/decorators"
"@sapphire/ts-config/decorators"
in your
tsconfig.json
tsconfig.json
? Else, please show the aforementioned file. This error comes from using ES decorators rather than the legacy ones.