progamersischu
DIAdiscord.js - Imagine a bot
•Created by progamersischu on 9/22/2023 in #djs-questions
@discordjs/core and REST
how do I add some roles to a userid or remove roles?
4 replies
DIAdiscord.js - Imagine a bot
•Created by progamersischu on 9/18/2023 in #djs-questions
Log if user got disconnected and from who?
Something aint right. I am currently trying to make something like: Yeah user x disconnected user x. But when I try to do like newstate(voicestate).guild.fetchAuditLogs({type: discordjs.AuditLogEvent.MemberDisconnect}) then it simply just waits like 5 seconds and after that says that
Cannot read properties of undefined (reading 'guild')
at the newstate14 replies
DIAdiscord.js - Imagine a bot
•Created by progamersischu on 8/6/2023 in #djs-questions
Get every User in a Voice Channel with REST/CORE
How do I do this?
13 replies
DIAdiscord.js - Imagine a bot
•Created by progamersischu on 7/31/2023 in #djs-voice
Lagging on voice channels
I am not sure if its the stream which is from a online source(no copyright) or discord being sus but the stream is lagging/stuttering /pausing for a sec. Any idea what it could be, like a common thing that happens or smth?
2 replies
DIAdiscord.js - Imagine a bot
•Created by progamersischu on 1/12/2023 in #djs-questions
Enable or Disable Application Commands for specific Channels
How do you do this? Not like with returning an error or doing nothing. I mean blocking the command completly like this restriction to a user/role.
13 replies
DIAdiscord.js - Imagine a bot
•Created by progamersischu on 12/16/2022 in #djs-voice
How do you write an mp3 or playable file when getting voice-input from an user
Got this code and I get a pcm file but its not playable and if I import it into Audactiy, it's only a short white noise. Anyone familiar with receiving voice?
4 replies