© 2026 Hedgehog Software, LLC
let connection = joinVoiceChannel({ channelId: voiceChannel.id, guildId: voiceChannel.guild.id, adapterCreator: voiceChannel.guild.voiceAdapterCreator, group: client.user.id, }); let player = createAudioPlayer(); let resource = createAudioResource(suraURL); // suraurl is a valid mp3 connection.subscribe(player); 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