MIA
🎶 Moonlink.js - Imagine a Music Application
Join the 🎶 Moonlink.js - Imagine a Music Application server to ask questions!
JoinMIA
🎶 Moonlink.js - Imagine a Music Application
Join the community to ask questions about 🎶 Moonlink.js - Imagine a Music Application and get answers from other members.
JoinHow to get the actual playing sound ?
Hey, I just wanted to know how to access to the current playing sound, because Player.current is null
How hard is it to upgrade from erela.js to here?
Hello, how hard is it to upgrade from erela.js to here? Since erela.js is not being mantained anymor
Erro apos update
Faz tempo que eu não fazia npm update no modulo, e agora esse erro me aparece ao rodar o bot:
client.moon.updateVoiceState(data);
^
TypeError: client.moon.updateVoiceState is not a function...
TypeError: Cannot read properties of undefined (reading 'guildId')
Hello. Im getting the
TypeError: Cannot read properties of undefined (reading 'guildId')
error but i cant get why. I have 3 buttons and the 1st and the 2nd button works fine but the 3th not and im confused because i used the client.moon.players.get()
exactly like i did at the 1st and the 2nd button.
this is how i used to get the player:
```js
const player = client.moon.players.get(guild_id);...coisa rapida
com o Queue.All consigo acessar as informações das musicas que ainda estao na fila , porem não da pra acessar com ela as informaçoes da musica que ja esta sendo tocada, como posso acessar isso?
Pequenos problemas
Bom, eu queria usar o evento EndTrack para desconectar o bot do chat de voz após acabar todas as musicas, sabe como é, deixar ele sozinho la pela eternidade nao é muito legal, ai tentei usar o Player.Disconnect e ate o Player.Destroy, porem retornou erro, ai pensei q podia ter feito errado no evento , então decidi testar em comando, ja que consegui fazer comandos tipo o skip e o stop, porem também não funcionou. Provavelmente isso esta acontecendo por alguma bobagem minha, então ja peço desculpa...
Error
```
TypeError: Cannot read private member #clientId from an object whose class did not declare it
at Client.updateVoiceState (Z:\NodeJS\node_modules\moonlink.js@Moonlink\MoonlinkManager.js:60:29)
at Client.emit (node:events:513:28)
at WebSocketShard.onMessage (Z:\NodeJS\node_modules\discord.js\src\client\websocket\WebSocketShard.js:326:25)...
Relacionado com comandos de barra.
To aprendendo agr a fazer bot com discord.js no https://discordjs.guide/
e agora com o discord.js v14 os comandos estao sendo feitos com barra em vez de prefixo.
Exemplo ensinado pelo guia:
(arquivo ping.js da pasta commands)...
Package supports?
Hey does this package support spotify search and also does it support voice effects?