CoDZeLLa
DIAdiscord.js - Imagine an app
•Created by CoDZeLLa on 12/7/2023 in #djs-questions
MessageActionRow is not a constructor
i readed
30 replies
DIAdiscord.js - Imagine an app
•Created by CoDZeLLa on 12/7/2023 in #djs-questions
MessageActionRow is not a constructor
i will send my code
30 replies
DIAdiscord.js - Imagine an app
•Created by CoDZeLLa on 12/7/2023 in #djs-questions
MessageActionRow is not a constructor
Started refreshing application (/) commands.
Successfully reloaded application (/) commands.
Logged in as ɢ-ᴏᴋɪ#5601
Error: TypeError: MessageActionRow is not a constructor
at Object.execute (/home/runner/SugaryShadyUpgrades/commands/g-begin.js:44:19)
at Client.<anonymous> (/home/runner/SugaryShadyUpgrades/index.js:60:19)
at Client.emit (node:events:511:28)
at InteractionCreateAction.handle (/home/runner/SugaryShadyUpgrades/node_modules/discord.js/src/client/actions/InteractionCreate.js:97:12)
at module.exports [as INTERACTION_CREATE] (/home/runner/SugaryShadyUpgrades/node_modules/discord.js/src/client/websocket/handlers/INTERACTION_CREATE.js:4:36)
at WebSocketManager.handlePacket (/home/runner/SugaryShadyUpgrades/node_modules/discord.js/src/client/websocket/WebSocketManager.js:355:31)
at WebSocketManager.<anonymous> (/home/runner/SugaryShadyUpgrades/node_modules/discord.js/src/client/websocket/WebSocketManager.js:239:12)
at WebSocketManager.emit (/home/runner/SugaryShadyUpgrades/node_modules/@vladfrangu/async_event_emitter/dist/index.js:282:31)
at WebSocketShard.<anonymous> (/home/runner/SugaryShadyUpgrades/node_modules/@discordjs/ws/dist/index.js:1173:51)
at WebSocketShard.emit (/home/runner/SugaryShadyUpgrades/node_modules/@vladfrangu/async_event_emitter/dist/index.js:282:31)
30 replies
DIAdiscord.js - Imagine an app
•Created by CoDZeLLa on 12/7/2023 in #djs-questions
MessageActionRow is not a constructor
Same error
30 replies
DIAdiscord.js - Imagine an app
•Created by CoDZeLLa on 12/7/2023 in #djs-questions
MessageActionRow is not a constructor
{
"name": "nodejs",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo "Error: no test specified" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"@discordjs/builders": "^1.7.0",
"@discordjs/rest": "^2.2.0",
"@types/node": "^18.0.6",
"discord-api-types": "^0.37.65",
"discord.js": "^14.14.1",
"ms": "^2.1.3",
"node-fetch": "^3.2.6"
}
}
30 replies
DIAdiscord.js - Imagine an app
•Created by CoDZeLLa on 12/7/2023 in #djs-questions
MessageActionRow is not a constructor
Ok
30 replies
DIAdiscord.js - Imagine an app
•Created by CoDZeLLa on 12/7/2023 in #djs-questions
MessageActionRow is not a constructor
replit
30 replies
DIAdiscord.js - Imagine an app
•Created by CoDZeLLa on 12/7/2023 in #djs-questions
MessageActionRow is not a constructor
i can invite you to help
30 replies
DIAdiscord.js - Imagine an app
•Created by CoDZeLLa on 12/7/2023 in #djs-questions
MessageActionRow is not a constructor
looK
~/SugaryShadyUpgrades$ npm rm discord.js
removed 8 packages, and audited 30 packages in 5s
3 packages are looking for funding
run
npm fund
for details
found 0 vulnerabilities
~/SugaryShadyUpgrades$ npm i discord.js
added 8 packages, and audited 38 packages in 7s
3 packages are looking for funding
run npm fund
for details
found 0 vulnerabilities
npm notice
npm notice New major version of npm available! 9.6.7 -> 10.2.5
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.2.5
npm notice Run npm install -g [email protected] to update!
npm notice
~/SugaryShadyUpgrades$30 replies