You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 24, 2021. It is now read-only.
When you update from Discord.JS v12 to Discord.JS v13, Commando stop working and says
<PROJECT_LOCATION>\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.<anonymous> (<PROJECT_LOCATION>\node_modules\discord.js-commando\src\extensions\message.js:7:29)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:94:18)
at Object.<anonymous> (<PROJECT_LOCATION>\node_modules\discord.js-commando\src\registry.js:5:25)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
The text was updated successfully, but these errors were encountered:
I'm sorry to comment on a closed issue, but is there any compat layer or something to ease the migration? I've got quite a big Commando-based codebase (quite sure I'm not the only one), and porting everything would take a lot of time.
When you update from Discord.JS v12 to Discord.JS v13, Commando stop working and says
The text was updated successfully, but these errors were encountered: