Digital
Explore posts from serversPPrisma
•Created by Digital on 8/28/2024 in #help-and-questions
Multiple Schema File issues
hi, so im using as followed on the blog about multiple schema files, and it seems that when i try to use
npx prisma format
or npx prisma generate
, it fails to load those other schema files, i dont have any model in main file tho, so not sure if that's the issue, but it shouldnt be, here's also my file tree:
schema.prisma:
3 replies
DIAdiscord.js - Imagine an app
•Created by Digital on 5/29/2024 in #djs-questions
how can we convert downloaded voice messages (ogg) to raw stream?
^
5 replies
CDCloudflare Developers
•Created by Digital on 11/25/2023 in #general-help
520: Web server is returning an unknown error
Hi, so i have a backend, that listens to post request, and then it delays response for max of 2 minutes, but after like 15 seconds of not getting response, cloudflare kicks in and says that server returned unknown response while its just hanging and waiting for smth. Any way to prevent this? some cf settings, header, anything?
1 replies
DIAdiscord.js - Imagine an app
•Created by Digital on 10/21/2023 in #djs-questions
No Description - 408 errors
20 replies
DIAdiscord.js - Imagine an app
•Created by Digital on 8/7/2023 in #djs-questions
Permissions Issue?
question, i check if bot has ManageChannels in guild, and then create a channel, log shows that it has perm, but then when trying it errors with "Missing Permissions", why
https://cdn.crni.xyz/r/ppaAMMmeE.png
29 replies
DIAdiscord.js - Imagine an app
•Created by Digital on 6/2/2023 in #djs-questions
Get member roles without member cache
so i have guild member cache disabled but i would like to get roles id array which is gotten from api once on a while if i try to use roles.cache.keys, it gives just everyone role, or other way if i already have to use cache, can i somehow like add filter before saving? so that it saves only specific properties?
and by first i mean there can be roles filled up after runtime which isnt good unlike on start
2 replies
DIAdiscord.js - Imagine an app
•Created by Digital on 5/11/2023 in #djs-voice
Error Spawn E2BIG
26 replies
DIAdiscord.js - Imagine an app
•Created by Digital on 4/23/2023 in #djs-voice
Voice memory leaks
so i am trying to find an optimized way to handle multiple users speaking, since constanty using .subscribe on speaking.on("start") kinda causes memory leaks, my idea is to just once initialize .subscribe and constantly listen to a user (saves to array of buffers) (with their permission ofc, have command for that), and to then use speaking.on("start") and speaking.on("stop") to cut recording in exact piece (start - clear array, stop - turn into mp3, clear array)
15 replies
DIAdiscord.js - Imagine an app
•Created by Digital on 4/15/2023 in #djs-questions
Auto Embed
30 replies
DIAdiscord.js - Imagine an app
•Created by Digital on 3/1/2023 in #djs-questions
Limiting gateway data to reduce traffic usage
So is it possible to do something to reduce bandwidth, my bot which currently uses presence intent has over 500gb monthly inbound usage, which is kinda concerning so early.
42 replies