Discord.py Music Bot
Python
Template

Not run yet
Discord.py Music Bot
112 Reactions
Created on Aug 18, 2020
This repl has no description
123comments
to comment
TwistedReality2 days ago

First of all this is inside a cog. To have a prefix u need to add a prefix in ur main.py second, in order for it to work go to packages import PyNaCl and Voice for the bot to work.

NotSkelz6 days ago

My bot said An error occurred: Command raised an exception: DownloadError: ERROR: query "goodbye to the world": Failed to parse JSON (caused by JSONDecodeError('Expecting value: line 1 column 1 (char 0)'))

mrcorpz1 week ago

How to get the url!!!!

PufferFishMan3 weeks ago

Traceback (most recent call last): File "main.py", line 15, in youtube_dl.utils.bug_reports_message = lambda: ''AttributeError: module 'youtube_dl' has no attribute 'utils'exit status 1

InertiaBoy2 months ago

How to get the url?

SUV1232 months ago

whats the prefix

rodrigotapia42 months ago

i have this error An error occurred: Command raised an exception: DownloadError: ERROR: No video formats found

lowjunnhoi2 months ago

An error occurred: Command raised an exception: DownloadError: ERROR: query "sussyballs": Failed to parse JSON (caused by JSONDecodeError('Expecting value: line 1 column 1 (char 0)'))

iLawyer20202 months ago

Could not get a token from the address you pointed us to.

Voxylem2 months ago

How could I implement a way to play youtube playlist ? I already know that with the youtube API I can extract all URL from a playlist but I don't know where to put them after.

Yoplayer1py3 months ago

Prefix ?

Giyu1234 months ago

ARE U BRAIN DEAD? , FIRST MAKE A PROPER README FI,E . LINK THE FLASK FILE TO MAIN FILE , WHERE THE FREAKING HELL IS THE PREFIX!!!!!!!!!!!!!!!!!

TechnoTalks4 months ago

How to fix thisAn error occurred: Command raised an exception: DownloadError: ERROR: bIxK2vHRE2Y: YouTube said: Unable to extract video data

TechnoTalks4 months ago

Whats the prefix for the bot?

JorgeDev4 months ago

what?An error occurred: Command raised an exception: DownloadError: ERROR: query "a fool moon night": Failed to parse JSON (caused by JSONDecodeError('Expecting value: line 1 column 1 (char 0)'))

Voxylem4 months ago

Pleaassse add a way to play from a youtube playlist

Lizardlock12234 months ago

Noke

jacobnassar4 months ago

What is the prefix?

MeeraAl5 months ago

takes forever to load

samocoder2495 months ago

epic

5 months ago

An error occurred: Command raised an exception: RuntimeError: PyNaCl library needed in order to use voice

Is this suppose to happen?

LAKHANSINGHSING5 months ago

what is this i dont understand

ShirlySchvartzm5 months ago

eggy

WantedWither5 months ago

i dont think this works :(

SmithSouza5 months ago

the volume does not work

BarrytheBagel5 months ago

Traceback (most recent call last): File "main.py", line 504, in bot.run(os.getenv("TOKEN")) File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/client.py", line 678, in run return future.result() File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/client.py", line 658, in runner await self.start(args, **kwargs) File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/client.py", line 621, in start await self.login(args, bot=bot) File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/client.py", line 472, in login await self.http.static_login(token.strip(), bot=bot)AttributeError: 'NoneType' object has no attribute 'strip'

bobydumitrache35 months ago

i get this when i want to play something : An error occurred: Command raised an exception: RuntimeError: PyNaCl library needed in order to use voice.

Hackerexe5 months ago

Im getting this error: An error occurred: Command raised an exception: DownloadError: ERROR: query "diggy hole": Failed to parse JSON (caused by JSONDecodeError('Expecting value: line 1 column 1 (char 0)')). Please help

A3983205 months ago

Hmm what does this do all i see is codes and letters

crazysisters5 months ago

An error occurred: Command raised an exception: DownloadError: ERROR: QTXAjcEC9aw: YouTube said: Unable to extract video data

any help

kyledickeyy6 months ago

Error when using the skip command: Command raised an exception: AttributeError: 'coroutine' object has no attribute 'clear' . How do i fix this

TuanDuong26 months ago

An error occurred: Command raised an exception: DownloadError: ERROR: 7rU_KyudGBY: YouTube said: Unable to extract video databug

divyamplayz6 months ago

What is this bot command prefix

zafaraabis6 months ago

which ur;? You said "For your url, put the url of the website made for your repl" But which one?

enternals6 months ago

for example, would i put musicplay [url] for it to work bc its not working for me idk if im doing it wrong or what

loloryry20006 months ago

What is the prefix?

pexuu20006 months ago

An error occurred: Command raised an exception: RuntimeError: PyNaCl library needed in order to use voice

any help?

GlorifyXC6 months ago

how to fix this?

Traceback (most recent call last): File "main.py", line 8, in import discordModuleNotFoundError: No module found named 'discord'exit status 1

Animeboi16 months ago

why does it say : An error occurred: Command raised an exception: RuntimeError: PyNaCl library needed in order to use voice. will someone help me

DanishSethi7 months ago

prefix ?

jarp0l7 months ago

Web server doesn't run if you don't run it.

In main.py: from keep_alive import keep_alive

Then before the line bot.run(os.getenv("TOKEN")), add: keep_alive()

burgerkingwhopp7 months ago

how tf do i get this to work? i see no prefix indicators

TanksForDying7 months ago

How do i update youtube_dl.

DangerOP7 months ago

it shows like this:

Traceback (most recent call last): File "main.py", line 504, in bot.run(os.getenv("TOKEN")) File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/client.py", line 678, in run return future.result() File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/client.py", line 658, in runner await self.start(args, **kwargs) File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/client.py", line 621, in start await self.login(args, bot=bot) File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/client.py", line 472, in login await self.http.static_login(token.strip(), bot=bot)AttributeError: 'NoneType' object has no attribute 'strip'exit status 1

Sarahi12347 months ago

How does it work??

ETICHUR20187 months ago

what is this?

ETICHUR20187 months ago

sad

Stankis7 months ago

This does not work. Could you fix it?

krishpat7 months ago

i am disappointed in you i will call your manager because i am a karen and this does not work

owenowenryanus7 months ago

whats the bot prefix?

hiweareyou7 months ago

I GOT FREE HACKER PLAN

MayerSzabolcs7 months ago

When a write music.play [link] the bot answers with that "An error occurred: Command raised an exception: DownloadError: ERROR: WvV5TbJc9tQ: YouTube said: Unable to extract video data"

derkbug7 months ago

how?

7 months ago

Does not work

DarmSpalter30007 months ago

how does this work

xSavagedev7 months ago

um