m3n
m3n
DIAdiscord.js - Imagine an app
Created by m3n on 7/23/2023 in #djs-voice
Error
I'm using @kirdock/discordjs-voice-recorder which is a package inside of which uses @discordjs/opus
11 replies
DIAdiscord.js - Imagine an app
Created by m3n on 7/23/2023 in #djs-voice
Error
The device I am using ubuntu 20.4
11 replies
DIAdiscord.js - Imagine an app
Created by m3n on 7/23/2023 in #djs-voice
Error
how?
11 replies
DIAdiscord.js - Imagine an app
Created by m3n on 7/23/2023 in #djs-voice
Error
const { Client, Collection, Permissions, WebhookClient, MessageAttachment, Intents, MessageEmbed } = require("discord.js");
const logs = require('discord-logs');
const { entersState, joinVoiceChannel, VoiceConnectionStatus, EndBehaviorType } = require('@discordjs/voice');
const fs = require('node:fs');

const ffmpegPath = require('@ffmpeg-installer/ffmpeg').path;
const ffmpeg = require('fluent-ffmpeg');
ffmpeg.setFfmpegPath(ffmpegPath);

const prism = require('prism-media');
const { Transform } = require("stream")
const { pipeline } = require('node:stream');
const { OpusEncoder } = require("@discordjs/opus");
const sleep = require('util').promisify(setTimeout);
const client = new Client({
intents: ['GUILDS'
, 'GUILD_MEMBERS'
, 'GUILD_BANS'
, 'GUILD_EMOJIS_AND_STICKERS'
, 'GUILD_INTEGRATIONS'
, 'GUILD_WEBHOOKS'
, 'GUILD_INVITES'
, 'GUILD_VOICE_STATES'
, 'GUILD_PRESENCES'
, 'GUILD_MESSAGES'
, 'GUILD_MESSAGE_REACTIONS'
, 'GUILD_MESSAGE_TYPING'
, 'DIRECT_MESSAGES'
, 'DIRECT_MESSAGE_REACTIONS'
, 'DIRECT_MESSAGE_TYPING'
, 'MESSAGE_CONTENT'
, 'GUILD_SCHEDULED_EVENTS'
, 'AUTO_MODERATION_CONFIGURATION'
, 'AUTO_MODERATION_EXECUTION']
});
const config = require("./config.json");
const { VoiceRecorder } = require('@kirdock/discordjs-voice-recorder');

const voiceRecorder = new VoiceRecorder();
const voiceManager = new Collection()
const { Client, Collection, Permissions, WebhookClient, MessageAttachment, Intents, MessageEmbed } = require("discord.js");
const logs = require('discord-logs');
const { entersState, joinVoiceChannel, VoiceConnectionStatus, EndBehaviorType } = require('@discordjs/voice');
const fs = require('node:fs');

const ffmpegPath = require('@ffmpeg-installer/ffmpeg').path;
const ffmpeg = require('fluent-ffmpeg');
ffmpeg.setFfmpegPath(ffmpegPath);

const prism = require('prism-media');
const { Transform } = require("stream")
const { pipeline } = require('node:stream');
const { OpusEncoder } = require("@discordjs/opus");
const sleep = require('util').promisify(setTimeout);
const client = new Client({
intents: ['GUILDS'
, 'GUILD_MEMBERS'
, 'GUILD_BANS'
, 'GUILD_EMOJIS_AND_STICKERS'
, 'GUILD_INTEGRATIONS'
, 'GUILD_WEBHOOKS'
, 'GUILD_INVITES'
, 'GUILD_VOICE_STATES'
, 'GUILD_PRESENCES'
, 'GUILD_MESSAGES'
, 'GUILD_MESSAGE_REACTIONS'
, 'GUILD_MESSAGE_TYPING'
, 'DIRECT_MESSAGES'
, 'DIRECT_MESSAGE_REACTIONS'
, 'DIRECT_MESSAGE_TYPING'
, 'MESSAGE_CONTENT'
, 'GUILD_SCHEDULED_EVENTS'
, 'AUTO_MODERATION_CONFIGURATION'
, 'AUTO_MODERATION_EXECUTION']
});
const config = require("./config.json");
const { VoiceRecorder } = require('@kirdock/discordjs-voice-recorder');

const voiceRecorder = new VoiceRecorder();
const voiceManager = new Collection()
11 replies
DIAdiscord.js - Imagine an app
Created by m3n on 7/23/2023 in #djs-voice
Error
i use the package :
11 replies
DIAdiscord.js - Imagine an app
Created by m3n on 7/23/2023 in #djs-voice
Error
Yes use all packages and run npm i on the terminal after the file
11 replies
DIAdiscord.js - Imagine an app
Created by m3n on 7/23/2023 in #djs-voice
Error
And how do I solve it?
11 replies
DIAdiscord.js - Imagine an app
Created by m3n on 7/23/2023 in #djs-voice
Error
what's the problem
11 replies
DIAdiscord.js - Imagine an app
Created by m3n on 7/23/2023 in #djs-voice
Error
{ "dependencies": { "@discordjs/opus": "^0.9.0", "@discordjs/voice": "^0.16.0", "@ffmpeg-installer/ffmpeg": "^1.1.0", "@kirdock/discordjs-voice-recorder": "^1.0.4", "discord-logs": "^2.0.0", "discord.js": "^13.15.1", "ffmpeg": "^0.0.4", "ffmpeg-static": "^5.1.0", "fluent-ffmpeg": "^2.1.2", "index.js": "^0.0.3", "libsodium-wrappers": "^0.7.11", "node": "^19.8.1", "node-gyp": "^9.4.0", "node-pre-gyp": "^0.17.0", "opusscript": "^0.0.8", "prism-media": "^2.0.0-alpha.0", "sodium-native": "^4.0.4", "tweetnacl": "^1.0.3", "util": "^0.12.5", "valuesaver": "^1.9.3" } }
11 replies
DIAdiscord.js - Imagine an app
Created by m3n on 7/23/2023 in #djs-voice
Error
{ "dependencies": { "@discordjs/opus": "^0.9.0", "@discordjs/voice": "^0.16.0", "@ffmpeg-installer/ffmpeg": "^1.1.0", "@kirdock/discordjs-voice-recorder": "^1.0.4", "discord-logs": "^2.0.0", "discord.js": "^13.15.1", "ffmpeg": "^0.0.4", "ffmpeg-static": "^5.1.0", "fluent-ffmpeg": "^2.1.2", "index.js": "^0.0.3", "libsodium-wrappers": "^0.7.11", "node": "^19.8.1", "node-gyp": "^9.4.0", "node-pre-gyp": "^0.17.0", "opusscript": "^0.0.8", "prism-media": "^2.0.0-alpha.0", "sodium-native": "^4.0.4", "tweetnacl": "^1.0.3", "util": "^0.12.5", "valuesaver": "^1.9.3" } }
2 replies