Zaack
DIAdiscord.js - Imagine an app
•Created by Zaack on 1/5/2024 in #djs-voice
Audio file does not play
Hello, I'm trying to play a sound, but nothing happens when it enters the scope where i call the play, any idea ?
Here is the code : https://pastebin.com/tQGhRGTS
connection is made at line 47
sound is played at line 113
6 replies
DIAdiscord.js - Imagine an app
•Created by Zaack on 9/30/2023 in #djs-questions
Call client in another file
Hello !
I have my client instance declared in my index.ts as usual and would like to be able to call it in another file of my project and use it to send a message.
I'm listening for a twitch stream event, and would like to then send a message when this event trigger.
Any tips or documentation ?
Thanks !
20 replies