© 2026 Hedgehog Software, LLC
let connection = await joinVoiceChannel({ channelId: message.member.voice.channel.id, guildId: message.guildId, adapterCreator: message.guild.voiceAdapterCreator, selfDeaf: false, }); let audioA = connection.receiver.subscribe("266636247017979904", { end: { behavior: EndBehaviorType.Manual } }) audioA.on("data", (data) => { console.log(data) }) let resource = await createAudioResource(audioA) let player = await createAudioPlayer({ behaviors: { noSubscriber: NoSubscriberBehavior.Play } }) player.subscribe(connection); player.play(resource);
Join the Discord to ask follow-up questions and connect with the community
Support server for discord.js, a Node.js module to interact with Discord's apps API.
57,666 Members