❄Moba Welt❄
❄Moba Welt❄
DIAdiscord.js - Imagine an app
Created by ❄Moba Welt❄ on 4/1/2024 in #djs-questions
Send Embed to Channel with ID
Where in the docs can I find this exactly?
17 replies
DIAdiscord.js - Imagine an app
Created by ❄Moba Welt❄ on 4/1/2024 in #djs-questions
Send Embed to Channel with ID
👍
17 replies
DIAdiscord.js - Imagine an app
Created by ❄Moba Welt❄ on 4/1/2024 in #djs-questions
Send Embed to Channel with ID
Okay, thank you very much. Now it works. There is only this text in the console: No command matching undefined was found.
17 replies
DIAdiscord.js - Imagine an app
Created by ❄Moba Welt❄ on 4/1/2024 in #djs-questions
Send Embed to Channel with ID
Ah oh
17 replies
DIAdiscord.js - Imagine an app
Created by ❄Moba Welt❄ on 4/1/2024 in #djs-questions
Send Embed to Channel with ID
How can I use this?
17 replies
DIAdiscord.js - Imagine an app
Created by ❄Moba Welt❄ on 4/1/2024 in #djs-questions
Send Embed to Channel with ID
No command matching undefined was found.
node:events:497
throw er; // Unhandled 'error' event
^

TypeError: Cannot read properties of undefined (reading 'channels')
at Object.execute (C:\Users\User\Desktop\BenniTechniker\events\button.js:14:40)
at Client.<anonymous> (C:\Users\User\Desktop\BenniTechniker\index.js:35:44)
at Client.emit (node:events:531:35)
at InteractionCreateAction.handle (C:\Users\User\Desktop\BenniTechniker\node_modules\discord.js\src\client\actions\InteractionCreate.js:97:12)
at module.exports [as INTERACTION_CREATE] (C:\Users\User\Desktop\BenniTechniker\node_modules\discord.js\src\client\websocket\handlers\INTERACTION_CREATE.js:4:36)
at WebSocketManager.handlePacket (C:\Users\User\Desktop\BenniTechniker\node_modules\discord.js\src\client\websocket\WebSocketManager.js:355:31)
at WebSocketManager.<anonymous> (C:\Users\User\Desktop\BenniTechniker\node_modules\discord.js\src\client\websocket\WebSocketManager.js:239:12)
at WebSocketManager.emit (C:\Users\User\Desktop\BenniTechniker\node_modules\@vladfrangu\async_event_emitter\dist\index.cjs:282:31)
at WebSocketShard.<anonymous> (C:\Users\User\Desktop\BenniTechniker\node_modules\@discordjs\ws\dist\index.js:1173:51)
at WebSocketShard.emit (C:\Users\User\Desktop\BenniTechniker\node_modules\@vladfrangu\async_event_emitter\dist\index.cjs:282:31)
Emitted 'error' event on Client instance at:
at emitUnhandledRejectionOrErr (node:events:402:10)
at process.processTicksAndRejections (node:internal/process/task_queues:84:21)
No command matching undefined was found.
node:events:497
throw er; // Unhandled 'error' event
^

TypeError: Cannot read properties of undefined (reading 'channels')
at Object.execute (C:\Users\User\Desktop\BenniTechniker\events\button.js:14:40)
at Client.<anonymous> (C:\Users\User\Desktop\BenniTechniker\index.js:35:44)
at Client.emit (node:events:531:35)
at InteractionCreateAction.handle (C:\Users\User\Desktop\BenniTechniker\node_modules\discord.js\src\client\actions\InteractionCreate.js:97:12)
at module.exports [as INTERACTION_CREATE] (C:\Users\User\Desktop\BenniTechniker\node_modules\discord.js\src\client\websocket\handlers\INTERACTION_CREATE.js:4:36)
at WebSocketManager.handlePacket (C:\Users\User\Desktop\BenniTechniker\node_modules\discord.js\src\client\websocket\WebSocketManager.js:355:31)
at WebSocketManager.<anonymous> (C:\Users\User\Desktop\BenniTechniker\node_modules\discord.js\src\client\websocket\WebSocketManager.js:239:12)
at WebSocketManager.emit (C:\Users\User\Desktop\BenniTechniker\node_modules\@vladfrangu\async_event_emitter\dist\index.cjs:282:31)
at WebSocketShard.<anonymous> (C:\Users\User\Desktop\BenniTechniker\node_modules\@discordjs\ws\dist\index.js:1173:51)
at WebSocketShard.emit (C:\Users\User\Desktop\BenniTechniker\node_modules\@vladfrangu\async_event_emitter\dist\index.cjs:282:31)
Emitted 'error' event on Client instance at:
at emitUnhandledRejectionOrErr (node:events:402:10)
at process.processTicksAndRejections (node:internal/process/task_queues:84:21)
17 replies
DIAdiscord.js - Imagine an app
Created by ❄Moba Welt❄ on 4/1/2024 in #djs-questions
Send Embed to Channel with ID
Yeah, wait
17 replies
DIAdiscord.js - Imagine an app
Created by ❄Moba Welt❄ on 4/1/2024 in #djs-questions
Send Embed to Channel with ID
The embed is not sent to the channel I specified when I press the button.
17 replies
DIAdiscord.js - Imagine an app
Created by ❄Moba Welt❄ on 3/29/2024 in #djs-questions
client.on Error
Error:
node:internal/modules/cjs/loader:1152
throw err;
^

Error: Cannot find module '../../../index.js'
Require stack:
- C:\Users\User\Desktop\BenniTechniker\commands\utility\stempeluhr.js
- C:\Users\User\Desktop\BenniTechniker\deploy-commands.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1149:15)
at Module._load (node:internal/modules/cjs/loader:990:27)
at Module.require (node:internal/modules/cjs/loader:1237:19)
at require (node:internal/modules/helpers:176:18)
at Object.<anonymous> (C:\Users\User\Desktop\BenniTechniker\commands\utility\stempeluhr.js:3:16)
at Module._compile (node:internal/modules/cjs/loader:1378:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1437:10)
at Module.load (node:internal/modules/cjs/loader:1212:32)
at Module._load (node:internal/modules/cjs/loader:1028:12)
at Module.require (node:internal/modules/cjs/loader:1237:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'C:\\Users\\User\\Desktop\\BenniTechniker\\commands\\utility\\stempeluhr.js',
'C:\\Users\\User\\Desktop\\BenniTechniker\\deploy-commands.js'
]
}
node:internal/modules/cjs/loader:1152
throw err;
^

Error: Cannot find module '../../../index.js'
Require stack:
- C:\Users\User\Desktop\BenniTechniker\commands\utility\stempeluhr.js
- C:\Users\User\Desktop\BenniTechniker\deploy-commands.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1149:15)
at Module._load (node:internal/modules/cjs/loader:990:27)
at Module.require (node:internal/modules/cjs/loader:1237:19)
at require (node:internal/modules/helpers:176:18)
at Object.<anonymous> (C:\Users\User\Desktop\BenniTechniker\commands\utility\stempeluhr.js:3:16)
at Module._compile (node:internal/modules/cjs/loader:1378:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1437:10)
at Module.load (node:internal/modules/cjs/loader:1212:32)
at Module._load (node:internal/modules/cjs/loader:1028:12)
at Module.require (node:internal/modules/cjs/loader:1237:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'C:\\Users\\User\\Desktop\\BenniTechniker\\commands\\utility\\stempeluhr.js',
'C:\\Users\\User\\Desktop\\BenniTechniker\\deploy-commands.js'
]
}
6 replies