Skip to content
← Back to Community
How to fix this?
Profile icon
Kiyoko

So....
Ummm Im trying to make a Music Bot but I am having this errror and I don't know what to do....Can anyone please help me.

Voters
Profile icon
Kiyoko
Comments
hotnewtop
Profile icon
Bookie0

What language? if it's python or js, you can use the repl.it audio, already integrated audio. Find out more here. For another language, you can find out at that same link for how to add audio.
for HTML, check this out.

check out my game post here where I integrated music in python, you can look at the code.

Good luck! ;)

Profile icon
RYANTADIPARTHI

Check out this same post:

https://repl.it/talk/ask/music/60427

Profile icon
LAMAQDAHODWALA

In this case, you can import the "playsound" module (after downloading it). You give it the name of a downloaded file to play, and it will play it. For example, I wanted to play some rap music. Using playsound.playsound() in the module, you would here the song. If you would like, you can do more research about playsound.

Profile icon
Coder100

What's your repl?

Profile icon
LAMAQDAHODWALA

Um, can we please have some clarity on what you are trying to do? How does this music bot work? Does it shuffle between pre loaded songs? Does it allow you to make your own music?

Profile icon
Kiyoko

@LAMAQDAHODWALA It Plays Music ;-;