Ask coding questions

← Back to all posts
2 of the same codes running at once
Davidk10 (0)

So I have a Code in discord.py, which makes my bot able to play music, theres 2 of them running at once, one that just gives error codes and the other one that actually plays the music. On the console it doesn't give the error code. So the 1st code which is broken, i deleted it from my repls gives this error code
(An error occurred: Command raised an exception: DownloadError: ERROR: query "nle choppa": Failed to parse JSON (caused by JSONDecodeError('Expecting value: line 1 column 1 (char 0)')) )

can I

get some help killing this somehow? i can't access it cause it's deleted but its still running

Comments
hotnewtop
Coder100 (18876)

try going to the shell

and typing in this: killall python
this kills all python cli

also you can then do kill 1 to restart the repl.

Saml2020 (66)

Try regenerating the bot token.