GithubHelp home page GithubHelp logo

Comments (9)

Jbg123s avatar Jbg123s commented on May 20, 2024

Screenshot_93

from discord-bot.

TannerGabriel avatar TannerGabriel commented on May 20, 2024

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.

Jbg123s avatar Jbg123s commented on May 20, 2024

I'm hosting my bot on a website why should I need to download ffmpeg on my pc?

from discord-bot.

Jbg123s avatar Jbg123s commented on May 20, 2024

Sorry for messaging again, but did u get my previous message?

from discord-bot.

TannerGabriel avatar TannerGabriel commented on May 20, 2024

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.

Jbg123s avatar Jbg123s commented on May 20, 2024

I'm hosting my discord bot in a website like github.com.

from discord-bot.

Jbg123s avatar Jbg123s commented on May 20, 2024

@TannerGabriel

from discord-bot.

TannerGabriel avatar TannerGabriel commented on May 20, 2024

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.

github-actions avatar github-actions commented on May 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.