Giter VIP home page Giter VIP logo

zritsu / museheart-musicbot Goto Github PK

View Code? Open in Web Editor NEW
85.0 13.0 80.0 4.22 MB

bot de música programado em python com player interativo, suporte a multi-bot, comandos barra/slash, integração com last.fm e muito mais.

License: GNU General Public License v2.0

Python 99.59% Shell 0.33% Nix 0.01% Dockerfile 0.04% Batchfile 0.04%
discord-bot disnake musicbot music-bot player-controller multi-music-bot lavalink multi-bot repl replit

museheart-musicbot's Issues

[Request] fixing plurals

Your bot is perfect, and I love it, it's the best music bot I've ever tried.
But there are some little things that I think should be fixed!
The plural forms are one of them.
It's really bad to read musica(s) or anything in parenthesis.
Could you update the coverters.py and add an option similar to the one that manages the time?
For example, if a tracks is > 1 convert the text directly into musicas?
type for this part of the code that displays the number of songs.
The same could be done for so many other things like server owner in the about section etc.

embed.description = f"{len(tracks.tracks)} música(s){time_format(total_duration)}{inter.author.mention}"

Thanks!

Problema SquareCloud

Opa, tudo bom? Toda vez que tento iniciar o bot pelo SquareCloud ele dá esse erro aqui, pode me ajudar?
image

Sobre a alteração de licença

Não é bem uma issue mas tenho uma dúvida a respeito da licença que foi alterada de MIT pra GPL2. Terei algum problema com o meu uso atual da source após essa alteração de licença? (Uso ela apenas pra rodar uns 4 bots privados no meu server).

Bot edit Player message instead of sending a Ephemeral response when using Favorites-related functions

Edit: the bug occour when there is only 1 song in user's list of favorites

How to Replicate:
When a song is playing, click on "Add to favorite" or "Add a song from my Favorite to the queue"
or
when there are no song playing, click on "Play a song from my Favorite to the queue"

Behavior:

  1. The bot edit the player message, making all buttons disappear
  2. There are no logs/errors displayed on console
  3. Problem occour on both Pinned Player Mode and Normal Mode
    Screenshot below

image

Bot does not play music on stages

The bot has admin permission and the bot did not play music on the stages even though I tried it on different channels
(it can join channels but can't play music)

error?

================================================
Application command synchronization:
GLOBAL COMMANDS

| Update is required: False

To upsert:
To edit:
-
To delete:
-
No changes:

Erro ao iniciar

Iniciei a primeira vez apenas com o token para testar e tem o seguinte erro:

[root@cwp MusicBot]# bash start.sh
Iniciando bot (Verifique se o mesmo está online)...
Commit ver: 4fd1270

Iniciando o servidor Lavalink (dependendo da hospedagem o lavalink pode demorar iniciar, o que pode ocorrer falhas em algumas tentativas de conexão até ele inic iar totalmente).

================================================
[OK] CocoMusic#6366 - error_handler.py Carregado.

[OK] CocoMusic#6366 - server_manager.py Carregado.

[OK] CocoMusic#6366 - skin_editor.py Carregado.

[OK] CocoMusic#6366 - music_settings.py Carregado.

[OK] CocoMusic#6366 - guild_fav_manager.py Carregado.

[OK] CocoMusic#6366 - help_cog.py Carregado.

[OK] CocoMusic#6366 - integration_manager.py Carregado.

[OK] CocoMusic#6366 - misc.py Carregado.

[ERRO] CocoMusic#6366 - Falha ao carregar/recarregar o módulo: player_resume
Traceback (most recent call last):
File "/root/Discord-Bots/MusicBot/utils/client.py", line 917, in load_modules
self.reload_extension(module_filename)
File "/root/Discord-Bots/MusicBot/venv/lib/python3.10/site-packages/disnake/ex t/commands/common_bot_base.py", line 602, in reload_extension
raise errors.ExtensionNotLoaded(name)
disnake.ext.commands.errors.ExtensionNotLoaded: Extension 'modules.player_resume ' has not been loaded.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/root/Discord-Bots/MusicBot/venv/lib/python3.10/site-packages/disnake/ex t/commands/common_bot_base.py", line 452, in _load_from_module_spec
spec.loader.exec_module(lib) # type: ignore
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/root/Discord-Bots/MusicBot/modules/player_resume.py", line 10, in
import aiosqlite
File "/root/Discord-Bots/MusicBot/venv/lib/python3.10/site-packages/aiosqlite/ init.py", line 6, in
from sqlite3 import ( # pylint: disable=redefined-builtin
File "/usr/local/lib/python3.10/sqlite3/init.py", line 57, in
from sqlite3.dbapi2 import *
File "/usr/local/lib/python3.10/sqlite3/dbapi2.py", line 27, in
from _sqlite3 import *
ModuleNotFoundError: No module named '_sqlite3'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/root/Discord-Bots/MusicBot/utils/client.py", line 389, in on_ready
bot.load_modules()
File "/root/Discord-Bots/MusicBot/utils/client.py", line 927, in load_modules
raise e
File "/root/Discord-Bots/MusicBot/utils/client.py", line 922, in load_modules
self.load_extension(module_filename)
File "/root/Discord-Bots/MusicBot/venv/lib/python3.10/site-packages/disnake/ex t/commands/common_bot_base.py", line 523, in load_extension
self._load_from_module_spec(spec, name)
File "/root/Discord-Bots/MusicBot/venv/lib/python3.10/site-packages/disnake/ex t/commands/common_bot_base.py", line 455, in _load_from_module_spec
raise errors.ExtensionFailed(key, e) from e
disnake.ext.commands.errors.ExtensionFailed: Extension 'modules.player_resume' r aised an error: ModuleNotFoundError: No module named '_sqlite3'
CocoMusic#3453 - [106349831649257069] Online.

podem me ajudar?

tá dando um erro pra mim, não sei se é pra alguns mas pra mim deu esse erro

/users/@me"))
W File "/usr/local/lib/python3.10/site-packages/disnake/http.py", line 442, in request
( raise HTTPException(response, data)
Rdisnake.errors.HTTPException: 401 Unauthorized (error code: 0): 401: Unauthorized

EThe above exception was the direct cause of the following exception:

#Traceback (most recent call last):
N File "/home/user_903283721770237974/utils/client.py", line 32, in start_bot
await bot.start(bot.token)
W File "/usr/local/lib/python3.10/site-packages/disnake/client.py", line 886, in start
await self.login(token)
W File "/usr/local/lib/python3.10/site-packages/disnake/client.py", line 741, in login
7 data = await self.http.static_login(token.strip())
\ File "/usr/local/lib/python3.10/site-packages/disnake/http.py", line 493, in static_login
C raise LoginFailure("Improper token has been passed.") from exc
=disnake.errors.LoginFailure: Improper token has been passed.
Unclosed client session
Hclient_session: <aiohttp.client.ClientSession object at 0x7fc74637ef80>
Unclosed client session
Hclient_session: <aiohttp.client.ClientSession object at 0x7fc74637e3b0>
Unclosed client session
Hclient_session: <aiohttp.client.ClientSession object at 0x7fc74637e1d0>
&Task was destroyed but it is pending!
�task: <Task pending name='Task-2' coro=<Misc.presences() running at /home/user_903283721770237974/modules/misc.py:68> wait_for=>
Unclosed client session
Hclient_session: <aiohttp.client.ClientSession object at 0x7fc745fbc1c0>
&Task was destroyed but it is pending!
�task: <Task pending name='Task-5' coro=<BotPool.connect_spotify() running at /home/user_903283721770237974/utils/client.py:70> wait_for=>
Unclosed connector
hconnections: ['[(<aiohttp.client_proto.ResponseHandler object at 0x7fc745f4f6a0>, 3809770.800353849)]']
Econnector: <aiohttp.connector.TCPConnector object at 0x7fc745f0e860>
&Task was destroyed but it is pending!
�task: <Task pending name='Task-1' coro=<CommonBotBase._fill_owners() running at /usr/local/lib/python3.10/site-packages/disnake/ext/commands/common_bot_base.py:116> wait_for=>
&Task was destroyed but it is pending!
task: <Task pending name='disnake: app_command_preparation' coro=<InteractionBotBase._prepare_application_commands() running at /usr/local/lib/python3.10/site-packages/disnake/ext/commands/interaction_bot_base.py:785> wait_for=>

Hi how can i fix this?

(1) WARNING: Skipping poetry as it is not installed.
Traceback (most recent call last):
File "/home/runner/MuseHeart-MusicBot/main.py", line 2, in
from utils.client import BotPool
File "/home/runner/MuseHeart-MusicBot/utils/client.py", line 19, in
import aiofiles
ModuleNotFoundError: No module named 'aiofiles'

(2) --> pip install 'aiohttp ' 'disnake '
ERROR: Can not perform a '--user' install. User site-packages are not visible in this virtualenv.
exit status 1
1

Bug that occurs when the bot starts playing music

using version: f096a69
lastest commit at the time of reporting

How to Replicate:
I'm uncertain about the specific steps to reproduce this issue, as it may be related to my unstable network connection.

Behavior:

  1. I send a request to play music.
  2. The bot updates the player message.
  3. An error message appears in the console.
  4. Subsequently, the bot ceases playing music and stops updating the music player message (screenshot attached below).
    image
Baixando lista de servidores lavalink (arquivo: auto_lavalink.ini)
Database em uso: TinyMongo | Nota: Os arquivos da database serão salvos localmente na pasta: local_database
Commit ver: f096a69f6ecda77e6c2bc214502adb1374242382
------------------------------
================================================
[OK] Muse#4484 - error_handler.py Carregado.
================================================
[OK] Muse#4484 - help_cog.py Carregado.
================================================
[OK] Muse#4484 - legacy_cmds.py Carregado.
================================================
[OK] Muse#4484 - misc.py Carregado.
================================================
[OK] Muse#4484 - music.py Carregado.
================================================
[OK] Muse#4484 - music_settings.py Carregado.
================================================
[OK] Muse#4484 - player_resume.py Carregado.
================================================
[OK] Muse#4484 - server_manager.py Carregado.
================================================
Muse#4484 - Os comandos já estão sincronizados.
Falha ao conectar no servidor JustAPie: ClientConnectorError(ConnectionKey(host='lavalink.justapie.net', port=443, is_ssl=True, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=None), gaierror(11001, 'getaddrinfo failed'))
==================================================
Atenção: O bot [Muse#4484] (ID: 123456789123456) foi configurado no portal do desenvolvedor como bot público
lembrando que se caso o bot seja divulgado pra ser adicionado publicamente o mesmo terá que estar sob as condições da licença GPL-2: https://github.com/zRitsu/MuseHeart-MusicBot/blob/main/LICENSE
Caso não queira seguir as condições da licença no seu bot, você pode deixar o bot privado desmarcando a opção public bot acessando o link: https://discord.com/developers/applications/1187332659035254877/bot
==================================================
Muse#4484 - [123456789123456] Online.
Muse#4484 - Servidor de música: [Caliwyr / v3] está pronto para uso!
Muse#4484 - Servidor de música: [albinhakanson / v3] está pronto para uso!
Muse#4484 - Servidor de música: [sillydev2 / v3] está pronto para uso!
Muse#4484 - Servidor de música: [Darren / v3] está pronto para uso!
Muse#4484 - Servidor de música: [lexnet-eu / v3] está pronto para uso!
Muse#4484 - Servidor de música: [OrdinaryEnder / v3] está pronto para uso!
Traceback (most recent call last):
  File "C:\Users\SeaSon\Desktop\musetest2\wavelink\websocket.py", line 181, in process_data
    await self._node.on_event(payload)
  File "C:\Users\SeaSon\Desktop\musetest2\wavelink\node.py", line 376, in on_event
    await event.player.hook(event)
  File "C:\Users\SeaSon\Desktop\musetest2\utils\music\models.py", line 699, in hook
    if error_403 and self.node.retry_403:
       ^^^^^^^^^
UnboundLocalError: cannot access local variable 'error_403' where it is not associated with a value

Erro ao manter o bot online, também está dando erro ao fazer o volume aumentar e diminuir

Traceback (most recent call last):
File "/home/runner/Music/utils/client.py", line 31, in start_bot
await bot.start(bot.token)
File "/home/runner/Music/venv/lib/python3.10/site-packages/disnake/client.py", line 886, in start
await self.login(token)
File "/home/runner/Music/venv/lib/python3.10/site-packages/disnake/client.py", line 741, in login
data = await self.http.static_login(token.strip())
File "/home/runner/Music/venv/lib/python3.10/site-packages/disnake/http.py", line 489, in static_login
data: user.User = await self.request(Route("GET", "/users/@me"))
File "/home/runner/Music/venv/lib/python3.10/site-packages/disnake/http.py", line 401, in request
raise HTTPException(response, data)
disnake.errors.HTTPException: 429 Too Many Requests (error code: 0):

<title>Access denied | discord.com used Cloudflare to restrict access</title> <script> (function(){if(document.addEventListener&&window.XMLHttpRequest&&JSON&&JSON.stringify){var e=function(a){var c=document.getElementById("error-feedback-survey"),d=document.getElementById("error-feedback-success"),b=new XMLHttpRequest;a={event:"feedback clicked",properties:{errorCode:1015,helpful:a,version:1}};b.open("POST","https://sparrow.cloudflare.com/api/v1/event");b.setRequestHeader("Content-Type","application/json");b.setRequestHeader("Sparrow-Source-Key","c771f0e4b54944bebf4261d44bd79a1e"); b.send(JSON.stringify(a));c.classList.add("feedback-hidden");d.classList.remove("feedback-hidden")};document.addEventListener("DOMContentLoaded",function(){var a=document.getElementById("error-feedback"),c=document.getElementById("feedback-button-yes"),d=document.getElementById("feedback-button-no");"classList"in a&&(a.classList.remove("feedback-hidden"),c.addEventListener("click",function(){e(!0)}),d.addEventListener("click",function(){e(!1)}))})}})(); </script> <script defer src="https://performance.radar.cloudflare.com/beacon.js"></script>

Error 1015

Ray ID: 747a82e7ea07b16c • 2022-09-08 20:42:33 UTC

You are being rate limited

  <section class="w-240 lg:w-full mx-auto mb-8 lg:px-8">
      <div id="what-happened-section" class="w-1/2 md:w-full">
        <h2 class="text-3xl leading-tight font-normal mb-4 text-black-dark antialiased" data-translate="what_happened">What happened?</h2>
        <p>The owner of this website (discord.com) has banned you temporarily from accessing this website.</p>
        
      </div>

      
  </section>

  <div class="feedback-hidden py-8 text-center" id="error-feedback">
<div id="error-feedback-survey" class="footer-line-wrapper">
    Was this page helpful?
    <button class="border border-solid bg-white cf-button cursor-pointer ml-4 px-4 py-2 rounded" id="feedback-button-yes" type="button">Yes</button>
    <button class="border border-solid bg-white cf-button cursor-pointer ml-4 px-4 py-2 rounded" id="feedback-button-no" type="button">No</button>
</div>
<div class="feedback-success feedback-hidden" id="error-feedback-success">
    Thank you for your feedback!
</div>
  <div class="cf-error-footer cf-wrapper w-240 lg:w-full py-10 sm:py-4 sm:px-8 mx-auto text-center sm:text-left border-solid border-0 border-t border-gray-300">

Cloudflare Ray ID: 747a82e7ea07b16c Your IP: Click to reveal 34.75.173.172 Performance & security by Cloudflare

<script>(function(){function d(){var b=a.getElementById("cf-footer-item-ip"),c=a.getElementById("cf-footer-ip-reveal");b&&"classList"in b&&(b.classList.remove("hidden"),c.addEventListener("click",function(){c.classList.add("hidden");a.getElementById("cf-footer-ip").classList.remove("hidden")}))}var a=document;document.addEventListener&&a.addEventListener("DOMContentLoaded",d)})();</script>
</div><!-- /#cf-error-details -->
<script> window._cf_translation = {}; </script> <script>(function(){var js = "window['__CF$cv$params']={r:'747a82e7ea07b16c',m:'OWRVbHHlXlE1pzaRc1y6ubWdVDs4fvCA_zyoUxId3CM-1662669753-0-AXAUpLhyW/UzWg14wiUUOgeuxXobzcME0FI6fwBxIE5HhnJlX6oG2zOix8Jyq+EVMzTRAA1EgaIHA9l2rPLVaA2p4t9yTgK5KTUniDK171jkVjGbITJF40UUZBZCyOebaNmiJOBI1clK96MtXk9HSKw=',s:[0xf78113d7f9,0xffb58bc0ab],u:'/cdn-cgi/challenge-platform/h/g'};var now=Date.now()/1000,offset=14400,ts=''+(Math.floor(now)-Math.floor(now%offset)),_cpo=document.createElement('script');_cpo.nonce='',_cpo.src='/cdn-cgi/challenge-platform/h/g/scripts/alpha/invisible.js?ts='+ts,document.getElementsByTagName('head')[0].appendChild(_cpo);";var _0xh = document.createElement('iframe');_0xh.height = 1;_0xh.width = 1;_0xh.style.position = 'absolute';_0xh.style.top = 0;_0xh.style.left = 0;_0xh.style.border = 'none';_0xh.style.visibility = 'hidden';document.body.appendChild(_0xh);function handler() {var _0xi = _0xh.contentDocument || _0xh.contentWindow.document;if (_0xi) {var _0xj = _0xi.createElement('script');_0xj.nonce = '';_0xj.innerHTML = js;_0xi.getElementsByTagName('head')[0].appendChild(_0xj);}}if (document.readyState !== 'loading') {handler();} else if (window.addEventListener) {document.addEventListener('DOMContentLoaded', handler);} else {var prev = document.onreadystatechange || function () {};document.onreadystatechange = function (e) {prev(e);if (document.readyState !== 'loading') {document.onreadystatechange = prev;handler();}};}})();</script>

Conexão Finalizada - IP: 127.0.0.1

Note

we still waiting for english lang or add multi support lang !!

duvida

@zRitsu A alguma forma de colocar um prefixo diferente para cada token?

disnake banned by Discord

2 hours ago discord banned the bot?
I can't use it anymore.
There are a lot of errors in the logs, and at some point I read: discord.com banned temporarily.
What is happening?
Please try to fix, this is the best bot I've ever used.
And I would like to continue using it forever.

bug: Bot bugado em canais de fórum

Ao falar em algum canal de fórum, o bot apaga a mensagem e envia a mensagem "Você deve entrar em um canal de voz para pedir uma música."

Suporte!

Boa Noite, Tudo Bem? tive o seguindo problema na execução do bash no linux e não sei o que houve; já li os arquivos e tentei solucionar os erros de execução mais não consegui obter sucesso. Eu ultilizo Linux Ubuntu 20.04LTE e assim que inseri a chave do mongo db no .env como foi pedido para que eu migrasse meu projeto para minha máquina ao invés do Repl.it, ocorre esse erro ao rodar o comando: bash start.sh (procurei o run.sh, como pedido mais vi que esse é o que solicita o .env após a atualização do código na versão 1.18 se não me engano). Segue o erro da execução:

Traceback (most recent call last):
File "main.py", line 10, in
pool.setup()
File "/home/anon5698/Downloads/Discord-Music-Bot-PT-BR/utils/client.py", line 195, in setup
self.mongo_database = MongoDatabase(mongo_key)
File "/home/anon5698/Downloads/Discord-Music-Bot-PT-BR/utils/db.py", line 192, in init
self._connect = AsyncIOMotorClient(token.strip("<>"), connectTimeoutMS=30000)
File "/home/anon5698/Downloads/Discord-Music-Bot-PT-BR/venv/lib/python3.8/site-packages/motor/core.py", line 148, in init
delegate = self.delegate_class(*args, **kwargs)
File "/home/anon5698/Downloads/Discord-Music-Bot-PT-BR/venv/lib/python3.8/site-packages/pymongo/mongo_client.py", line 736, in init
res = uri_parser.parse_uri(
File "/home/anon5698/Downloads/Discord-Music-Bot-PT-BR/venv/lib/python3.8/site-packages/pymongo/uri_parser.py", line 516, in parse_uri
user, passwd = parse_userinfo(userinfo)
File "/home/anon5698/Downloads/Discord-Music-Bot-PT-BR/venv/lib/python3.8/site-packages/pymongo/uri_parser.py", line 71, in parse_userinfo
raise InvalidURI(
pymongo.errors.InvalidURI: Username and password must be escaped according to RFC 3986, use urllib.parse.quote_plus
kill: uso: kill [-s SIGSPEC | -n SIGNUM | -SIGSPEC] PID | ESPEC-JOB ... ou kill -l [SIGSPEC]

OBS: Conto com sua ajuda, e espero que futuramente o bot seja compátivel também com Clouds como: SquareCloud e DisCloud.

Soundcloud artwork are no longer displayed

After the latest updates, when I request a song from soundcloud the artwork is no longer displayed.
I did several tests, using MuseHeart there are no problems, everything works perfectly; but if i try to import the repo to heroku, replit etc the problem persists.

RuntimeError on terminal

i get RuntimeError: Can't restart token refresh task when previous refresh failed
when i run run.sh, i dont know why i didnt change any code only added the spotfiy token and discord bot token
image

Falta de Módulo Tinymongo

Atualizei o bot hoje mais cedo, e ao tentar usar ele, não funciona. vendo no cmd, acusa falta desse modulo.
iniciando bot (verifique se ele está online)...

(venv) E:\Bots\disnake-LL-music-bot>python main.py 2>.logs\run.log

(venv) E:\Bots\disnake-LL-music-bot>type .logs\run.log
Traceback (most recent call last):
File "E:\Bots\disnake-LL-music-bot\main.py", line 1, in
from utils.client import BotPool
File "E:\Bots\disnake-LL-music-bot\utils\client.py", line 16, in
from utils.music.checks import check_pool_bots
File "E:\Bots\disnake-LL-music-bot\utils\music\checks.py", line 9, in
from utils.music.models import LavalinkPlayer
File "E:\Bots\disnake-LL-music-bot\utils\music\models.py", line 11, in
from utils.db import DBModel
File "E:\Bots\disnake-LL-music-bot\utils\db.py", line 12, in
from tinymongo import TinyMongoClient
ModuleNotFoundError: No module named 'tinymongo'

Waiting for 24 seconds, press a key to continue ...

application error + IP ban

Hello,
I was starting to translate the bot into Italian, initially everything ok, then I started getting error messages + ban ip.
(I have triied to flush my dns + restart my router but cant solve and cant use yt rn)
When in doubt, I have invited the official one from your invitation and it gives me the same problems.

can help me?

Nova conexão - Bot: [1132105898014277744] 127.0.0.1
[RPC client] - Os dados de rpc foram sincronizados com sucesso.
Command synchronization task has finished
LIKEaBORZ (RESERV)#6500 - Iniciando servidor de música: LOCAL

Atenção: O bot [LIKEaBORZ (RESERV)#6500] (ID: 11321580145) foi configurado no portal do desenvolvedor como bot público
lembrando que se caso o bot seja divulgado pra ser adicionado publicamente o mesmo terá que estar sob as condições da licença GPL-2: https://github.com/zRitsu/MuseHeart-MusicBot/blob/main/LICENSE
Caso não queira seguir as condições da licença no seu bot, você pode deixar o bot privado desmarcando a opção public bot acessando o link: https://discord.com/developers/applications/1132105854277744/bot

LIKEaBORZ (RESERV)#6500 - [1132105898014277744] Online.
Traceback (most recent call last):
File "/home/runner/MuseHeart-MusicBot/venv/lib/python3.10/site-packages/disnake/ext/commands/slash_core.py", line 728, in invoke
await call_param_func(self.callback, inter, self.cog, **kwargs)
File "/home/runner/MuseHeart-MusicBot/venv/lib/python3.10/site-packages/disnake/ext/commands/params.py", line 1083, in call_param_func
return await maybe_coroutine(safe_call, function, **kwargs)
File "/home/runner/MuseHeart-MusicBot/venv/lib/python3.10/site-packages/disnake/utils.py", line 567, in maybe_coroutine
return await value
File "/home/runner/MuseHeart-MusicBot/modules/music.py", line 891, in play
query = query.replace("\n", " ").strip()
AttributeError: 'ParamInfo' object has no attribute 'replace'

LIKEaBORZ (RESERV)#6500 - Servidor de música: [LOCAL] está pronto para uso!

2

There's an issue

Traceback (most recent call last):
File "/home/container/main.py", line 10, in
pool.setup()
File "/home/container/utils/client.py", line 567, in setup
self.start_lavalink()
File "/home/container/utils/client.py", line 91, in start_lavalink
self.lavalink_instance = run_lavalink(
File "/home/container/utils/music/local_lavalink.py", line 218, in run_lavalink
lavalink_process = subprocess.Popen(java_cmd.split(), stdout=subprocess.DEVNULL)
File "/usr/local/lib/python3.10/subprocess.py", line 971, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/local/lib/python3.10/subprocess.py", line 1863, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/home/container/.jabba/jdk/[email protected]/bin/java'
Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f0ba3373910>
Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f0ba33622c0>

Works without sound

It works but it is silent without sound and this error appears to me. What is the solution?

error

Silence, without music

the bot works normally, but after a while, when I play some music, it just goes silent

Erro Connection Failure

WEBSOCKET | Connection Failure:: Cannot connect to host node3.garvv.me:1102 ssl:default [getaddrinfo failed]
ClientConnectorError(ConnectionKey(host='node3.garvv.me', port=1102, is_ssl=False, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=None), gaierror(11001, 'getaddrinfo failed'))

do nada começou a dar para mim esse erro

Respostas duplicadas

Estou tendo um problema desde a última vez que atualizei o bot que não consegui resolver, comandos que eu mando sem ser pelos slashs o bot começa a mandar duplicado, um me respondendo direto e outro apenas enviando o comando de resposta, segue exemplo abaixo.

imagem-2022-12-25-111827939.png

Active Thread is now broken

Hello,
From today it is no longer possible to make requests in the thread.
To make sure the problem is not mine, I use a second "clean" version on which I also used the "update command" to make sure everything is updated to the current version.
I am getting the following errors.

brave_d9XkpPrJxQ

brave_aWA0yeKjbU

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.