Dãrķ Søŭł
Dãrķ Søŭł
Explore posts from servers
CCoder.com
Created by Dãrķ Søŭł on 5/26/2024 in #help
VSCode Extension Gives Connection Error
No description
90 replies
CCoder.com
Created by Dãrķ Søŭł on 5/26/2024 in #help
Code Server giving 404
No description
42 replies
DIAdiscord.js - Imagine a boo! 👻
Created by Dãrķ Søŭł on 3/3/2024 in #djs-questions
Sharding Dies
No description
4 replies
DIAdiscord.js - Imagine a boo! 👻
Created by Dãrķ Søŭł on 9/15/2023 in #djs-questions
Why am I getting this error?
=== UNCAUGHT EXCEPTION MONITOR ===

=== UNCAUGHT EXCEPTION ===
Exception: TypeError: channel.isText is not a function
at InteractionCreateAction.handle (/home/container/node_modules/discord.js/src/client/actions/InteractionCreate.js:48:33)
at Object.module.exports [as INTERACTION_CREATE] (/home/container/node_modules/discord.js/src/client/websocket/handlers/INTERACTION_CREATE.js:4:36)
at WebSocketManager.handlePacket (/home/container/node_modules/discord.js/src/client/websocket/WebSocketManager.js:346:31)
at WebSocketShard.onPacket (/home/container/node_modules/discord.js/src/client/websocket/WebSocketShard.js:478:22)
at WebSocketShard.onMessage (/home/container/node_modules/discord.js/src/client/websocket/WebSocketShard.js:317:10)
at WebSocket.onMessage (/home/container/node_modules/ws/lib/event-target.js:199:18)
at WebSocket.emit (node:events:513:28)
at Receiver.receiverOnMessage (/home/container/node_modules/ws/lib/websocket.js:1169:20)
at Receiver.emit (node:events:513:28)
at Receiver.dataMessage (/home/container/node_modules/ws/lib/receiver.js:528:14)
at Receiver.getData (/home/container/node_modules/ws/lib/receiver.js:446:17)
at Receiver.startLoop (/home/container/node_modules/ws/lib/receiver.js:148:22)
at Receiver._write (/home/container/node_modules/ws/lib/receiver.js:83:10)
at writeOrBuffer (node:internal/streams/writable:391:12)
at _write (node:internal/streams/writable:332:10)
at Receiver.Writable.write (node:internal/streams/writable:336:10)
at TLSSocket.socketOnData (/home/container/node_modules/ws/lib/websocket.js:1263:35)
at TLSSocket.emit (node:events:513:28)
at addChunk (node:internal/streams/readable:315:12)
at readableAddChunk (node:internal/streams/readable:289:9)
at TLSSocket.Readable.push (node:internal/streams/readable:228:10)
at TLSWrap.onStreamRead (node:internal/stream_base_commons:190:23)
=== UNCAUGHT EXCEPTION ===
=== UNCAUGHT EXCEPTION MONITOR ===

=== UNCAUGHT EXCEPTION ===
Exception: TypeError: channel.isText is not a function
at InteractionCreateAction.handle (/home/container/node_modules/discord.js/src/client/actions/InteractionCreate.js:48:33)
at Object.module.exports [as INTERACTION_CREATE] (/home/container/node_modules/discord.js/src/client/websocket/handlers/INTERACTION_CREATE.js:4:36)
at WebSocketManager.handlePacket (/home/container/node_modules/discord.js/src/client/websocket/WebSocketManager.js:346:31)
at WebSocketShard.onPacket (/home/container/node_modules/discord.js/src/client/websocket/WebSocketShard.js:478:22)
at WebSocketShard.onMessage (/home/container/node_modules/discord.js/src/client/websocket/WebSocketShard.js:317:10)
at WebSocket.onMessage (/home/container/node_modules/ws/lib/event-target.js:199:18)
at WebSocket.emit (node:events:513:28)
at Receiver.receiverOnMessage (/home/container/node_modules/ws/lib/websocket.js:1169:20)
at Receiver.emit (node:events:513:28)
at Receiver.dataMessage (/home/container/node_modules/ws/lib/receiver.js:528:14)
at Receiver.getData (/home/container/node_modules/ws/lib/receiver.js:446:17)
at Receiver.startLoop (/home/container/node_modules/ws/lib/receiver.js:148:22)
at Receiver._write (/home/container/node_modules/ws/lib/receiver.js:83:10)
at writeOrBuffer (node:internal/streams/writable:391:12)
at _write (node:internal/streams/writable:332:10)
at Receiver.Writable.write (node:internal/streams/writable:336:10)
at TLSSocket.socketOnData (/home/container/node_modules/ws/lib/websocket.js:1263:35)
at TLSSocket.emit (node:events:513:28)
at addChunk (node:internal/streams/readable:315:12)
at readableAddChunk (node:internal/streams/readable:289:9)
at TLSSocket.Readable.push (node:internal/streams/readable:228:10)
at TLSWrap.onStreamRead (node:internal/stream_base_commons:190:23)
=== UNCAUGHT EXCEPTION ===
27 replies
DIAdiscord.js - Imagine a boo! 👻
Created by Dãrķ Søŭł on 7/22/2023 in #djs-questions
Delete Channel With Button
I have this simple function https://pastebin.com/LygHwdrQ which is meant to do the following: 1: You press the button 2: It deletes the ticket 3: Send a message in dms but when I click the button it does nothing and the bot doesn't give error.
81 replies
DIAdiscord.js - Imagine a boo! 👻
Created by Dãrķ Søŭł on 7/4/2023 in #djs-questions
Demote Command doesn't work.
So I have a demote slash command and when someone runs the command I want to check if they actually have the role to run the command so if they dont have it denies it. But for one reason the if statement doesn't work
37 replies
DIAdiscord.js - Imagine a boo! 👻
Created by Dãrķ Søŭł on 7/3/2023 in #djs-questions
How can I check user roles
So I have a slash command where the member has to mention a user in the command option, how can I get the roles from the user the member mentioned in the command to see if it has a role
8 replies
DIAdiscord.js - Imagine a boo! 👻
Created by Dãrķ Søŭł on 7/3/2023 in #djs-questions
Create Users Dms
When I am trying to send a message to a user via bot it says object Object
36 replies
DIAdiscord.js - Imagine a boo! 👻
Created by Dãrķ Søŭł on 7/3/2023 in #djs-questions
Slash Command Interactions Doesn't Work
Hello, So I am creating a new bot and for one reason the doesn't respond to the slash commands at all, the slash commands are registered correctly. But when I run them it does nothing and no errors pop up in console. For more information about the problem please tell me and I will provide it. Thank you!
17 replies