discordjs / Commando

Official command framework for discord.js
Apache License 2.0
497 stars 243 forks source link

problem with commando #417

Open 13MrBlackCat13 opened 2 years ago

13MrBlackCat13 commented 2 years ago

/Users/mihail/Downloads/assasans-bot/node_modules/discord.js-commando/src/extensions/message.js:7 module.exports = Structures.extend('Message', Message => { ^ TypeError: Cannot read property 'extend' of undefined at Object. (/Users/mihail/Downloads/assasans-bot/node_modules/discord.js-commando/src/extensions/message.js:7:29) at Module._compile (internal/modules/cjs/loader.js:1085:14) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10) at Module.load (internal/modules/cjs/loader.js:950:32) at Function.Module._load (internal/modules/cjs/loader.js:790:14) at Module.require (internal/modules/cjs/loader.js:974:19) at require (internal/modules/cjs/helpers.js:92:18) at Object. (/Users/mihail/Downloads/assasans-bot/node_modules/discord.js-commando/src/registry.js:5:25) at Module._compile (internal/modules/cjs/loader.js:1085:14) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10) at Module.load (internal/modules/cjs/loader.js:950:32) at Function.Module._load (internal/modules/cjs/loader.js:790:14) at Module.require (internal/modules/cjs/loader.js:974:19) at require (internal/modules/cjs/helpers.js:92:18) at Object. (/Users/mihail/Downloads/assasans-bot/node_modules/discord.js-commando/src/client.js:2:26) at Module._compile (internal/modules/cjs/loader.js:1085:14) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10) at Module.load (internal/modules/cjs/loader.js:950:32) at Function.Module._load (internal/modules/cjs/loader.js:790:14) at Module.require (internal/modules/cjs/loader.js:974:19) at require (internal/modules/cjs/helpers.js:92:18) at Object. (/Users/mihail/Downloads/assasans-bot/node_modules/discord.js-commando/src/index.js:2:10) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! assasans-bot@0.1.0 start: node . npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the assasans-bot@0.1.0 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /Users/mihail/.npm/_logs/2021-08-19T17_32_08_589Z-debug.log

xHyroM commented 2 years ago

https://github.com/discordjs/Commando/issues/413

ghost commented 2 years ago

It doesn't work with Discord.js v13.