◎-naomiluxxe
◎-naomiluxxe
DIAdiscord.js - Imagine an app
Created by Tommy on 7/25/2024 in #djs-voice
Mp3 audio not playing
23 replies
DIAdiscord.js - Imagine an app
Created by Tommy on 7/25/2024 in #djs-voice
Mp3 audio not playing
omg so dumb. Evidently, alerts go to system sound while Discord app has different settings for voice I/O. Changed it to the correct output and it works!
23 replies
DIAdiscord.js - Imagine an app
Created by Tommy on 7/25/2024 in #djs-voice
Mp3 audio not playing
I seem to have the same issue - except the voice activity goes green from the bot, but no audio (voice activity also stops once the mp3 is finished "playing", and the debug output shows the connection going from playing to idle). My guess is that either the resource isn't getting setup properly (although it seems odd that the player would just stream silence instead of failing more loudly); or I have a configuration issue with discord. Computer audio is fine since I hear the joined earcon when the bot joins the channel . . .
23 replies
DIAdiscord.js - Imagine an app
Created by ◎-naomiluxxe on 8/14/2024 in #djs-voice
Getting started with Typescript and discord.js/voice
Aaaha ok. I will try that approach!
5 replies
DIAdiscord.js - Imagine an app
Created by ◎-naomiluxxe on 8/14/2024 in #djs-voice
Getting started with Typescript and discord.js/voice
I suppose if I really wanted to be masochistic I could take that approach! LOL even then, I'd still be in the mess of having to compile the TS, and dealing with the myriad of combinations for the module and target settings . . . In fact, npm run dev and npm run build works from that particular demo. npm run start fails when js comes across the export in the "compiled" (?) ts -> js files.
All of this comes about since the deploy-commands is setup to execute when a guild is added, but that's not very useful for development. I have multiple bots running using javascript informed by the main discord.js guides and documentation. But since discord.js/voice is typeface, I now need to explore this rabbit hole! I think having a reference package.json and tsconfig.json files for discord.js/voice would be helpful, if anyone has those to share. (I'm also trying sort out ts-node, vs tsup vs tsc vs npx tsc etc. -- this is def worse than python! 😸 LOL) xoxo Naomi 🖤
5 replies