Nutchapol
DIdiscord.js - Imagine ❄
•Created by Nutchapol on 11/28/2024 in #djs-questions
what happens to the "main listener" when using a message collector?
thanks
7 replies
DIdiscord.js - Imagine ❄
•Created by Nutchapol on 11/28/2024 in #djs-questions
what happens to the "main listener" when using a message collector?
so basically a premade listener with filters
7 replies
DIdiscord.js - Imagine ❄
•Created by Nutchapol on 11/14/2024 in #djs-voice
Typescript complains about adapterCreator after upgrading to v0.17.0
oh right, dependencies in
node_modules
can have node_modules
of their own5 replies
DIdiscord.js - Imagine ❄
•Created by Nutchapol on 11/14/2024 in #djs-voice
Typescript complains about adapterCreator after upgrading to v0.17.0
or is it typescript doing its own thing?
5 replies
DIdiscord.js - Imagine ❄
•Created by Nutchapol on 11/14/2024 in #djs-voice
Typescript complains about adapterCreator after upgrading to v0.17.0
how is that possible
i thought there's always only 1 version of a dependency installed?
-# feels like rust all of a sudden
5 replies
DIdiscord.js - Imagine ❄
•Created by Maybe Ange on 3/31/2023 in #djs-questions
This code no longer works when it worked before!
https://discord-player.js.org/ i guess go to the discord server linked in here
5 replies
DIdiscord.js - Imagine ❄
•Created by Maybe Ange on 3/31/2023 in #djs-questions
This code no longer works when it worked before!
you will have to go ask for
discord-player
help5 replies
DIdiscord.js - Imagine ❄
•Created by Nutchapol on 3/30/2023 in #djs-voice
"Cannot perform IP discovery - socket closed"
updated all, will have to watch if it still errors later or not
thanks
3 replies
DIdiscord.js - Imagine ❄
•Created by Nutchapol on 3/29/2023 in #djs-questions
what's the boolean in Client<boolean>?
i've noticed that
Client.user
is tied to ready
so you can't use discord.js to write applications w/o bot user?8 replies
DIdiscord.js - Imagine ❄
•Created by Nutchapol on 3/29/2023 in #djs-questions
what's the boolean in Client<boolean>?
i've just thought to read the type definition file
so it's like a discriminated union kind of thing? where TS knows that some properties exists depending on the value of Ready
that's neat
8 replies
DIdiscord.js - Imagine ❄
•Created by Nutchapol on 2/12/2023 in #djs-voice
How do I stop an autopaused audio player?
i disabled the autopause instead, i'll have other parts of my code maintain the audio player state
5 replies
DIdiscord.js - Imagine ❄
•Created by Nutchapol on 2/12/2023 in #djs-voice
How do I stop an autopaused audio player?
so just call
audioPlayer.unpause()
?5 replies
DIdiscord.js - Imagine ❄
•Created by Nutchapol on 2/1/2023 in #djs-voice
what does joinVoiceChannel return when there's already an active voice connection?
i ran
then saw that there's more listeners for
stateChange
in voiceConnection
's list of listeners5 replies
DIdiscord.js - Imagine ❄
•Created by Nutchapol on 2/1/2023 in #djs-voice
what does joinVoiceChannel return when there's already an active voice connection?
i've tested just to be sure but yes, it's the same object
thanks
5 replies