-
-
Notifications
You must be signed in to change notification settings - Fork 407
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
discord.js Opus #89
Comments
Are you running the application without Docker? If so, could you make sure that you have Opus and FFMPEG installed on your machine? |
I'm running it on Google cloud machine on Debian. I have ffmpeg installed and opus. |
@Radjejszyn I can recommend this DigitalOcean tutorial for installing Docker on Ubuntu (Debian). |
Oh okay, thanks I will look into in when I come home, should I close the issue? |
You can close it if you like, but you could also leave it open until we find the cause of the problem. |
Okay sure |
DiscordAPIError: Missing Access this is error which i got now |
okay i got it working, but i have a question. why do i cant use my commands with prefix for example ?skip (i have changed it to ?) |
Hey @Radjejszyn, check out Issue #88 for the answer. Long story short: It's coming (back) soon™ :) |
I think you need to install node-opus and opusscript manually (i had to, to get mine working) try: otherwise the bot can't play audio. |
Describe the bug
cant play song
To Reproduce
Steps to reproduce the behavior:
Expected behavior
to play song
Desktop (please complete the following information):
Dependency versions:
Additional context (optional)
Error: Cannot find module 'node-opus'
Require stack:
Error: Cannot find module 'opusscript'
Require stack:
at Object.loader [as require] (/home/g1kacper_wysocki/discord-bot/node_modules/@discordjs/voice/node_modules/prism-media/src/util/loader.js:12:9)
at loadOpus (/home/g1kacper_wysocki/discord-bot/node_modules/@discordjs/voice/node_modules/prism-media/src/opus/Opus.js:17:17)
at new OpusStream (/home/g1kacper_wysocki/discord-bot/node_modules/@discordjs/voice/node_modules/prism-media/src/opus/Opus.js:46:10)
at new Encoder (/home/g1kacper_wysocki/discord-bot/node_modules/@discordjs/voice/node_modules/prism-media/src/opus/Opus.js:149:5)
at Object.transformer (/home/g1kacper_wysocki/discord-bot/node_modules/@discordjs/voice/dist/audio/TransformerGraph.js:120:24)
at /home/g1kacper_wysocki/discord-bot/node_modules/@discordjs/voice/dist/audio/AudioResource.js:158:60
at Array.map ()
at Object.createAudioResource (/home/g1kacper_wysocki/discord-bot/node_modules/@discordjs/voice/dist/audio/AudioResource.js:158:41)
at StreamDispatcher.createStream (/home/g1kacper_wysocki/discord-bot/node_modules/discord-player/dist/VoiceInterface/StreamDispatcher.js:108:38)
at Queue. (/home/g1kacper_wysocki/discord-bot/node_modules/discord-player/dist/Structures/Queue.js:663:46)
/home/g1kacper_wysocki/discord-bot/node_modules/discord.js/src/rest/RequestHandler.js:298
throw new DiscordAPIError(data, res.status, request);
Checklist:
The text was updated successfully, but these errors were encountered: