Comments (9)
from discord-bot.
You say that you downloaded the ffmpeg package that is included in the package.json file but that is only a tool to use ffmpeg in your application and you still need a local installation of the actual ffmpeg software on the machine the bot should run on.
Since you are on windows you can either download the software from the official website or add the ffmpeg-binaries package to your package.json (I would suggest taking the first approach because the ffmpeg-binaries is deprecated).
Try this solution and tell me if it helped.
from discord-bot.
I'm hosting my bot on a website why should I need to download ffmpeg on my pc?
from discord-bot.
Sorry for messaging again, but did u get my previous message?
from discord-bot.
Yeah, the bot still needs to run on some kind of physical machine and this machine needs to have the FFmpeg software installed so it can play music.
What exactly do you mean by hosting your bot on a website? Do you mean hosting on a server or website that distributes bots for people to use?
Hopefully, this helps you resolve your problem if not please send me more information about what exactly you are using the bot for.
from discord-bot.
I'm hosting my discord bot in a website like github.com.
from discord-bot.
from discord-bot.
I need your concrete deployment configuration to help you with this issue (A website like Github isn't enough I need concrete information). Nonetheless, your bot will need to be hosted on a physical machine no matter who hosts it (Github or a local deployment) and that machine needs to have FFmpeg installed (I still think that is the issue).
When you deploy the config on a website I would recommend using the already provided Dockerfile for easy deployment but you can still run the node index.js command if you have no experience with Docker yet.
Another thing I personally would recommend is testing the bot on your local system so you can make sure that your code is working fine. After that, you can continue tweaking the deployment until you get it working.
from discord-bot.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days
from discord-bot.
Related Issues (20)
- /play command returns an error HOT 2
- discordJs dependency outdated HOT 4
- Not allowed to be used HOT 2
- TypeError [CommandInteractionOptionType]: Option "mode" is of type: 4; expected 3. HOT 1
- DisallowedIntents HOT 3
- Bot activity not working.
- Error: Cannot find module 'prism-media' HOT 7
- Not responding to commands
- Question: Can you show me an example on how to add a basic info command? HOT 2
- Playing Error HOT 7
- Discord player type error HOT 4
- different behaviour when installed via npm / pnpm HOT 2
- Bot Won't Play HOT 3
- Playing Error HOT 5
- Youtube Links not working HOT 9
- Bot stops song mid-playback then automatically disconnects HOT 2
- Bot wont deploy after starting HOT 12
- Error [TokenInvalid]: An invalid token was provided. HOT 2
- Bot connects, loads track, adds it to queue, says its playing the song and then queue finished instantly. No music is played. HOT 5
- Volume gets down every time the bot disconnects HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from discord-bot.