How much resource discordjs is really using

I need an approximate answer about my music bot hardware usage per user. For example how much ram will it use for 100 parallel users playing something and usage for an oracle Ampere A1: 4 OCPU 3.0 GHz. Bot is using: "@discordjs/core": "^0.5.2", "@discordjs/voice": "^0.16.0" Let's assume that all 100 users are playing at same time and using commands
2 Replies
d.js toolkit
d.js toolkit13mo ago
• What's your exact discord.js npm list discord.js and node node -v version? • Post the full error stack trace, not just the top part! • Show your code! • Explain what exactly your issue is. • Not a discord.js issue? Check out #useful-servers.
Nikola Nedeljkovic
Node v18.16.0 const connection = joinVoiceChannel({ channelId: interaction.member.voice.channel.id, guildId: guild_id, adapterCreator: interaction.guild.voiceAdapterCreator }) const player = createAudioPlayer(); const resource = createAudioResource(stream.stream, { inputType: stream.type }); player.play(resource); ? k, fine