Adapter
Creates an adapter for a voice channel.
Creating an Adapter
Example
const discordaudio = require('discordaudio');
const discord = require('discord.js');
const client = new discord.Client({intents: [discord.Intents.FLAGS.GUILDS]});
const channel = client.channels.cache.get('0123456789');
const adapter = new discordaudio.Adapter(channel);Last updated