Raptor123471 / DingoLingo

A Discord music bot written in Python with support for Youtube, SoundCloud, Spotify, Bandcamp, Twitter, and custom files.
GNU General Public License v3.0
279 stars 166 forks source link

The Bot suddenly disconnected. #95

Open vortq opened 2 years ago

vortq commented 2 years ago

When I tried playing a youtube song, it shows the song banner on discord and the console say this

[youtube] 0b5uulBrDrs: Downloading webpage [youtube] 0b5uulBrDrs: Downloading android player API JSON

when it reaches this, the bot suddenly disconnected, and the console say this

Playing https://youtu.be/0b5uulBrDrs Starting Bot... Joined woah Startup Complete

then a "Now Playing" banner pop up on discord.

typhonshambo commented 2 years ago

i am using the old release of this code it doesn't have this problem tho

Wip-Sama commented 2 years ago

I have a similar problem but in my case the bot is stuck at

[youtube] 0b5uulBrDrs: Downloading webpage [youtube] 0b5uulBrDrs: Downloading android player API JSON

anywhy

Try running the bot in a separate python enviroment and install teh requirements only these and see if something changes:

powershell:

python -m venv NameOfTheEnviroment NameOfTheEnviroment\Scripts\activate pip install -r path_of_the_bot_requirements ...bot_path\run.py