Seems like the problem doesn't occur anymore. Now it has to display an error like this one:
Structures.extend('Guild', Guild => {
^
TypeError: Cannot read property 'extend' of undefined
at Object. (C:\Users\me\Downloads\sateenkaari\index.js:6:12)
[90m at Module._compile (internal/modules/cjs/loader.js:1128:30)[39m
[90m at Object.Module._extensions..js (internal/modules/cjs/loader.js:1167:10)[39m
[90m at Module.load (internal/modules/cjs/loader.js:983:32)[39m
[90m at Function.Module._load (internal/modules/cjs/loader.js:891:14)[39m
[90m at Function.executeUserEntryPoint as runMain[39m
[90m at internal/main/run_main_module.js:17:47[39m
Seems like the problem doesn't occur anymore. Now it has to display an error like this one:
Structures.extend('Guild', Guild => {
^
TypeError: Cannot read property 'extend' of undefined
at Object. (C:\Users\me\Downloads\sateenkaari\index.js:6:12)
[90m at Module._compile (internal/modules/cjs/loader.js:1128:30)[39m
[90m at Object.Module._extensions..js (internal/modules/cjs/loader.js:1167:10)[39m
[90m at Module.load (internal/modules/cjs/loader.js:983:32)[39m
[90m at Function.Module._load (internal/modules/cjs/loader.js:891:14)[39m
[90m at Function.executeUserEntryPoint as runMain[39m
[90m at internal/main/run_main_module.js:17:47[39m
you probably did not install discord.js master, hit
npm i discordjs/discord.js