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
Pastebin
/* eslint-disable @typescript-eslint/no-unused-vars // eslint-dis...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
2 Replies
d.js toolkit
d.js toolkit11mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button!
Zaack
ZaackOP11mo ago
so like this ?
const aboie = createAudioResource(
path.resolve(__dirname + '../sounds/aboie.mp3'),
);
const aboie = createAudioResource(
path.resolve(__dirname + '../sounds/aboie.mp3'),
);
yea cause the action is triggered by another api anyway, but it does enter the action's scope, everything's good on that side didn't want to bother you guys with tons of useless lines doesn't seem to work either, I tried logging it, it logs aboie : [object Object]
Want results from more Discord servers?
Add your server