Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

343
Views
How to make record command in discord.js v13 like mee6

I want to create a record command like mee6 bot, i tried createStream but it's not available in discord.js v13

const { Client, CommandInteraction } = require("discord.js");
const { joinVoiceChannel, createAudioPlayer, AudioPlayerStatus, NoSubscriberBehavior, createAudioResource } = require("@discordjs/voice");
const fs = require("fs");
module.exports = {
    name: "record",
    category: "Text To Speech",
    description: "Record voice in voice channel",
    botPermissions: "",
    /**
     * @param { CommandInteraction } interaction
     * @param { Client } client
     */
    async execute(client, interaction) {
        // join voice channel
        const voiceChannel = interaction.member.voice.channel;
        if (!voiceChannel) {
            return interaction.reply({ content: "You are not in a voice channel" });
        }
        const connection = joinVoiceChannel({
            channelId: voiceChannel.id,
            guildId: interaction.guild.id,
            adapterCreator: voiceChannel.guild.voiceAdapterCreator,
        });

    },
};
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!