Mocus
Mocus
Explore posts from servers
DIAdiscord.js - Imagine an app
Created by Mocus on 8/27/2023 in #djs-questions
slash command not appearing
ok let me see if i can convert this to v14 !
11 replies
DIAdiscord.js - Imagine an app
Created by Mocus on 8/27/2023 in #djs-questions
slash command not appearing
couldn't get my head around it!
11 replies
DIAdiscord.js - Imagine an app
Created by Mocus on 8/27/2023 in #djs-questions
slash command not appearing
i tried v14 but problems with the intents
11 replies
DIAdiscord.js - Imagine an app
Created by Mocus on 8/27/2023 in #djs-questions
slash command not appearing
🤦 cheers buddy, sorry really new to this!
11 replies
DIAdiscord.js - Imagine an app
Created by Mocus on 8/27/2023 in #djs-questions
slash command not appearing
thanks, i registered the commands but now im getting:
const row = new MessageActionRow()
^

ReferenceError: MessageActionRow is not defined
at Client.<anonymous> (C:\Users\user\OneDrive\Desktop\DNG\bot.js:54:21)
at Client.emit (node:events:526:35)
at InteractionCreateAction.handle (C:\Users\user\node_modules\discord.js\src\client\actions\InteractionCreate.js:83:12)
at module.exports [as INTERACTION_CREATE] (C:\Users\user\node_modules\discord.js\src\client\websocket\handlers\INTERACTION_CREATE.js:4:36)
at WebSocketManager.handlePacket (C:\Users\user\node_modules\discord.js\src\client\websocket\WebSocketManager.js:346:31)
at WebSocketShard.onPacket (C:\Users\user\node_modules\discord.js\src\client\websocket\WebSocketShard.js:493:22)
at WebSocketShard.onMessage (C:\Users\user\node_modules\discord.js\src\client\websocket\WebSocketShard.js:327:10)
at callListener (C:\Users\user\node_modules\ws\lib\event-target.js:290:14)
at WebSocket.onMessage (C:\Users\user\node_modules\ws\lib\event-target.js:209:9)
at WebSocket.emit (node:events:514:28)
const row = new MessageActionRow()
^

ReferenceError: MessageActionRow is not defined
at Client.<anonymous> (C:\Users\user\OneDrive\Desktop\DNG\bot.js:54:21)
at Client.emit (node:events:526:35)
at InteractionCreateAction.handle (C:\Users\user\node_modules\discord.js\src\client\actions\InteractionCreate.js:83:12)
at module.exports [as INTERACTION_CREATE] (C:\Users\user\node_modules\discord.js\src\client\websocket\handlers\INTERACTION_CREATE.js:4:36)
at WebSocketManager.handlePacket (C:\Users\user\node_modules\discord.js\src\client\websocket\WebSocketManager.js:346:31)
at WebSocketShard.onPacket (C:\Users\user\node_modules\discord.js\src\client\websocket\WebSocketShard.js:493:22)
at WebSocketShard.onMessage (C:\Users\user\node_modules\discord.js\src\client\websocket\WebSocketShard.js:327:10)
at callListener (C:\Users\user\node_modules\ws\lib\event-target.js:290:14)
at WebSocket.onMessage (C:\Users\user\node_modules\ws\lib\event-target.js:209:9)
at WebSocket.emit (node:events:514:28)
11 replies
DIAdiscord.js - Imagine an app
Created by Mocus on 8/27/2023 in #djs-questions
slash command not appearing
🤦‍♂️ no, how do i do that
11 replies