NotDemonix
NotDemonix
DIAdiscord.js - Imagine an app
Created by NotDemonix on 11/1/2024 in #djs-questions
@discordjs/opus
Hey, kinda new to voice stuff but, for a receiver. What difference does the sampling rate and channels make?
5 replies
DIAdiscord.js - Imagine an app
Created by NotDemonix on 11/1/2024 in #djs-questions
@discordjs/opus
Hi, so from what I understood, this is more performant than OpusScript. I only need to receive audio too. When trying to install I get this error https://srcb.in/ZWlgZfol1H Am I supposed to install the Visual Studio windows app?
6 replies
DIAdiscord.js - Imagine an app
Created by NotDemonix on 9/20/2024 in #djs-questions
What is the max this can output?
Since main help channel is closed, I'm creating a post This is the code: guild.channels.cache.filter(channel => channel.isThread() && !channel.archived).size What's the highest number this can output?
15 replies
DIAdiscord.js - Imagine an app
Created by NotDemonix on 1/31/2024 in #djs-questions
Question about makeCache and sweepers
Hi! I'm running a ticket bot which has transcripts, what would be the best settings for message cache? I would like to cut down the memory usage a bit and that's all I have left available.
19 replies
DIAdiscord.js - Imagine an app
Created by NotDemonix on 11/23/2023 in #djs-questions
Optimizing ram usage
No description
14 replies
DIAdiscord.js - Imagine an app
Created by NotDemonix on 11/3/2023 in #djs-questions
Permissions
Hey, I got an array like ["SendMessages", "ViewChannel"], how can I use BotMember.permissionsIn(channel) with that array to check if it got all of them and if no then which?
9 replies
DIAdiscord.js - Imagine an app
Created by NotDemonix on 9/24/2023 in #djs-questions
client.rest.queueRequest()
Does anyone have a example? I can't get it to work
14 replies
DIAdiscord.js - Imagine an app
Created by NotDemonix on 9/1/2023 in #djs-questions
How to make gateway shards always reconnect.
Hello, currently shards stop reconnecting after few tries. What do change so they will keep on try to reconnect but maybe less often
19 replies
DIAdiscord.js - Imagine an app
Created by NotDemonix on 8/7/2023 in #djs-questions
Sending a messages to a channel without fetching the guild
Hello, I saw that some libs have functions to directly interact with the rest, for example i can send a message to an channel by putting the channel ID without needing to fetch the guild.
5 replies
DIAdiscord.js - Imagine an app
Created by NotDemonix on 8/21/2022 in #djs-questions
guys i tried doing rich presence (running on ubuntu ARM64 (armcord))
Error: Could not connect
at Socket.onerror (/home/notdemonix/autostartstuff/node_modules/discord-rpc/src/transports/ipc.js:32:16)
at Object.onceWrapper (node:events:628:26)
at Socket.emit (node:events:513:28)
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Error: Could not connect
at Socket.onerror (/home/notdemonix/autostartstuff/node_modules/discord-rpc/src/transports/ipc.js:32:16)
at Object.onceWrapper (node:events:628:26)
at Socket.emit (node:events:513:28)
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
tell if i should send code
7 replies