EI
plain-purple

TypeError (attemptConnection)

Z:\NodeJS\node_modules\moonlink.js\@Moonlink\MoonlinkManager.js:56
return this.#attemptConnection(packet.d.guild_id)
^

TypeError: Object must be an instance of class MoonlinkManager
at Client.updateVoiceState (Z:\NodeJS\node_modules\moonlink.js\@Moonlink\MoonlinkManager.js:56:16)
at Client.emit (node:events:513:28)
at WebSocketShard.onMessage (Z:\NodeJS\node_modules\discord.js\src\client\websocket\WebSocketShard.js:326:25)
at callListener (Z:\NodeJS\node_modules\ws\lib\event-target.js:290:14)
at WebSocket.onMessage (Z:\NodeJS\node_modules\ws\lib\event-target.js:209:9)
at WebSocket.emit (node:events:513:28)
at Receiver.receiverOnMessage (Z:\NodeJS\node_modules\ws\lib\websocket.js:1178:20)
at Receiver.emit (node:events:513:28)
at Receiver.dataMessage (Z:\NodeJS\node_modules\ws\lib\receiver.js:528:14)
at Receiver.getData (Z:\NodeJS\node_modules\ws\lib\receiver.js:446:17)
Z:\NodeJS\node_modules\moonlink.js\@Moonlink\MoonlinkManager.js:56
return this.#attemptConnection(packet.d.guild_id)
^

TypeError: Object must be an instance of class MoonlinkManager
at Client.updateVoiceState (Z:\NodeJS\node_modules\moonlink.js\@Moonlink\MoonlinkManager.js:56:16)
at Client.emit (node:events:513:28)
at WebSocketShard.onMessage (Z:\NodeJS\node_modules\discord.js\src\client\websocket\WebSocketShard.js:326:25)
at callListener (Z:\NodeJS\node_modules\ws\lib\event-target.js:290:14)
at WebSocket.onMessage (Z:\NodeJS\node_modules\ws\lib\event-target.js:209:9)
at WebSocket.emit (node:events:513:28)
at Receiver.receiverOnMessage (Z:\NodeJS\node_modules\ws\lib\websocket.js:1178:20)
at Receiver.emit (node:events:513:28)
at Receiver.dataMessage (Z:\NodeJS\node_modules\ws\lib\receiver.js:528:14)
at Receiver.getData (Z:\NodeJS\node_modules\ws\lib\receiver.js:446:17)
168 Replies
conscious-sapphire
conscious-sapphire3y ago
@1Lucas1.apk
1Lucas1.apk
1Lucas1.apk3y ago
It doesn't have to be privatized, right? I'll do some research, I'll be back in a little while, because this class has to be private Vê se você encontra algum erro igual em algum site @MOTO
conscious-sapphire
conscious-sapphire3y ago
1Lucas1.apk
1Lucas1.apk3y ago
Tava configurando eslint
conscious-sapphire
conscious-sapphire3y ago
Ata
1Lucas1.apk
1Lucas1.apk3y ago
No máximo que eu achei
No description
1Lucas1.apk
1Lucas1.apk3y ago
Mais não é isso
conscious-sapphire
conscious-sapphire3y ago
Eu achei um negócio
1Lucas1.apk
1Lucas1.apk3y ago
O que?
1Lucas1.apk
1Lucas1.apk3y ago
No description
conscious-sapphire
conscious-sapphire3y ago
No description
1Lucas1.apk
1Lucas1.apk3y ago
Não entendi isso 😔
conscious-sapphire
conscious-sapphire3y ago
Vc n pode definir objetos que já tão definidos Só tipo definir em uma variável e enviar pela classe Eu não entendi muito mais parece isao ^eval class A { construtor (a) { this.a = true } } let bunda = new A("cu") cu
Téo™
Téo™3y ago
Verificando.../executado...
MotoG
ReferenceError: cu is not defined
at eval (eval at <anonymous> (file:///home/container/commands/%F0%9F%90%99%20Developers%20/%F0%9F%97%BF%20Eval.js:11:22), <anonymous>:8:1)
at file:///home/container/commands/%F0%9F%90%99%20Developers%20/%F0%9F%97%BF%20Eval.js:11:22
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Object.run (file:///home/container/commands/%F0%9F%90%99%20Developers%20/%F0%9F%97%BF%20Eval.js:9:5)
ReferenceError: cu is not defined
at eval (eval at <anonymous> (file:///home/container/commands/%F0%9F%90%99%20Developers%20/%F0%9F%97%BF%20Eval.js:11:22), <anonymous>:8:1)
at file:///home/container/commands/%F0%9F%90%99%20Developers%20/%F0%9F%97%BF%20Eval.js:11:22
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Object.run (file:///home/container/commands/%F0%9F%90%99%20Developers%20/%F0%9F%97%BF%20Eval.js:9:5)
conscious-sapphire
conscious-sapphire3y ago
^eval class A { construtor (a) { this.a = true } } let bunda = new A("cu") bunda
Téo™
Téo™3y ago
Sucesso
MotoG
BoyConfused Código
class A {
construtor (a) {
this.a = true
}
}

let bunda = new A("cu")
bunda
class A {
construtor (a) {
this.a = true
}
}

let bunda = new A("cu")
bunda
<:blurple_settings:904187256313626684> Saída
A {}
A {}
conscious-sapphire
conscious-sapphire3y ago
Agr me deixe ir 😏
1Lucas1.apk
1Lucas1.apk3y ago
Esse erro não é isso O attemptConnection e pra tentativa de conectar na call Ele faz request 2 vezes Primeira com uma informação A segunda com as informações dos dois eventos Ai ele manda pra lavalink Ele tá privatizado
conscious-sapphire
conscious-sapphire3y ago
Uai oq vc quer q eu faça Não entendi muito bem
1Lucas1.apk
1Lucas1.apk3y ago
Me ajuda minino
conscious-sapphire
conscious-sapphire3y ago
No description
No description
No description
conscious-sapphire
conscious-sapphire3y ago
Se vc n sabe imagine eu
1Lucas1.apk
1Lucas1.apk3y ago
@Nah are these errors returned naturally or do you use eslint?
conscious-sapphire
conscious-sapphire3y ago
Pra mim isso parece erro q o objeto sla Não é definido
1Lucas1.apk
1Lucas1.apk3y ago
É um método #attemptConnection(id) Ele pega informações Do map E tenta Só que esse erro não achei em lugar algum
conscious-sapphire
conscious-sapphire3y ago
Tá cheio desse erros
1Lucas1.apk
1Lucas1.apk3y ago
Será porque a forma está organizada tipo, privados em baixo em cima os públicos? Não acho que não
conscious-sapphire
conscious-sapphire3y ago
Acho q é isso Privados com públicos funcionam juntos?
1Lucas1.apk
1Lucas1.apk3y ago
Não porque o this é global dentro dele
conscious-sapphire
conscious-sapphire3y ago
Então
1Lucas1.apk
1Lucas1.apk3y ago
^eval this
Téo™
Téo™3y ago
Sucesso
1Lucas1.apk
BoyConfused Código
this
this
<:blurple_settings:904187256313626684> Saída
undefined
undefined
conscious-sapphire
conscious-sapphire3y ago
Eu sei
plain-purple
plain-purpleOP3y ago
i haven't use eslint
plain-purple
plain-purpleOP3y ago
No description
conscious-sapphire
conscious-sapphire3y ago
Ele não usa Nossa ele tá achando um monte de bugs Contrata ele pra ser beta tester
1Lucas1.apk
1Lucas1.apk3y ago
How does your project find submissive errors?
conscious-sapphire
conscious-sapphire3y ago
Mais esse erro não é ocasionado pela lavalink?
plain-purple
plain-purpleOP3y ago
you mean this error?
1Lucas1.apk
1Lucas1.apk3y ago
Yes
plain-purple
plain-purpleOP3y ago
this error occurs by the bot joining the voice channel. I use this code for my bot to connect the vc cuz i found I cannot connect the bot to vc via player.connect()
const { joinVoiceChannel } = require('@discordjs/voice');
joinVoiceChannel({ // This is @discordjs/voice https://discordjs.guide/voice/voice-connections.html
guildId: message.guildId,
channelId: message.member.voice.channelId,
selfDeaf: true,
adapterCreator: message.guild.voiceAdapterCreator,
});
const { joinVoiceChannel } = require('@discordjs/voice');
joinVoiceChannel({ // This is @discordjs/voice https://discordjs.guide/voice/voice-connections.html
guildId: message.guildId,
channelId: message.member.voice.channelId,
selfDeaf: true,
adapterCreator: message.guild.voiceAdapterCreator,
});
conscious-sapphire
conscious-sapphire3y ago
Pq vc não ativa o debug do djs @1Lucas1.apk
MEE6
MEE63y ago
GG @MOTO, you just advanced to level 4!
plain-purple
plain-purpleOP3y ago
idk why discord has no actions with this
No description
MEE6
MEE63y ago
GG @Nah, you just advanced to level 3!
plain-purple
plain-purpleOP3y ago
when i try yesterday, even joinVoiceChannel() not works for my bot but it works today
1Lucas1.apk
1Lucas1.apk3y ago
Now that I'm really lost g!eval this
Global Chat™
(๑•﹏•)
<:s_blob_mu:972957413412065300> › Resultado.
<:s_blob_cookie:973030186490667108> › Código.
this
this
<:s_blob_pat:972983035014303784> › Saída.
MessageCommand {
name: 'eval',
description: '🎈 › dev: only developers ',
run: [Function: run],
aliases: []
}
MessageCommand {
name: 'eval',
description: '🎈 › dev: only developers ',
run: [Function: run],
aliases: []
}
1Lucas1.apk
1Lucas1.apk3y ago
g!eval client
Global Chat™
(๑•﹏•)
<:s_blob_mu:972957413412065300> › Resultado.
<:s_blob_cookie:973030186490667108> › Código.
client
client
<:s_blob_pat:972983035014303784> › Saída.
<ref *1> ExtendedClient {
_events: [Object: null prototype] {
shardDisconnect: [Function (anonymous)],
messageCreate: [Function (anonymous)],
ready: [Function (anonymous)],
messageDelete: [Function (anonymous)]
},
_eventsCount: 4,
_maxListeners: undefined,
options: {
intents: IntentsBitField { bitfield: 131071 },
closeTimeout: 5000,
waitGuildTimeout: 15000,
shardCount: 1,
makeCache: [Function (anonymous)],
partials: [],
failIfNotExists: true,
presence: { status: 'online', user: [Object] },
sweepers: { threads: [Object] },
ws: {
large_threshold: 50,
compress: false,
properties: [Object],
version: 10,
presence: [Object]
},
rest: {
agent: [Getter],
api: 'https://discord.com/api',
authPrefix: 'Bot',
cdn: 'https://cdn.discordapp.com',
headers: {},
invalidRequestWarningInterval: 0,
globalRequestsPerSecond: 50,
offset: 50,
rejectOnRateLimit: null,
<ref *1> ExtendedClient {
_events: [Object: null prototype] {
shardDisconnect: [Function (anonymous)],
messageCreate: [Function (anonymous)],
ready: [Function (anonymous)],
messageDelete: [Function (anonymous)]
},
_eventsCount: 4,
_maxListeners: undefined,
options: {
intents: IntentsBitField { bitfield: 131071 },
closeTimeout: 5000,
waitGuildTimeout: 15000,
shardCount: 1,
makeCache: [Function (anonymous)],
partials: [],
failIfNotExists: true,
presence: { status: 'online', user: [Object] },
sweepers: { threads: [Object] },
ws: {
large_threshold: 50,
compress: false,
properties: [Object],
version: 10,
presence: [Object]
},
rest: {
agent: [Getter],
api: 'https://discord.com/api',
authPrefix: 'Bot',
cdn: 'https://cdn.discordapp.com',
headers: {},
invalidRequestWarningInterval: 0,
globalRequestsPerSecond: 50,
offset: 50,
rejectOnRateLimit: null,
<:s_blob_cookie:973030186490667108> › Restante.
retries: 3,
timeout: 15000,
userAgentAppendix: 'Node.js v16.19.0',
version: '10',
hashSweepInterval: 14400000,
hashLifetime: 86400000,
handlerSweepInterval: 3600000
},
jsonTransformer: [Function: toSnakeCase],
shards: [ 0 ]
},
rest: REST {
_events: [Object: null prototype] {
newListener: [Function (anonymous)],
removeListener: [Function (anonymous)]
},
_eventsCount: 2,
_maxListeners: undefined,
cdn: CDN { base: 'https://cdn.discordapp.com' },
requestManager: RequestManager {
_events: [Object: null prototype],
_eventsCount: 4,
_maxListeners: undefined,
agent: [Agent],
globalRemaining: 49,
globalDelay: null,
globalReset: 1672153734964,
hashes: [Collection [Map]],
handlers: [Collection [Map]],
hashTimer: Timeout {
_idleTimeout: 14400000,
_idlePrev: [TimersList],
_idleNext: [TimersList],
_idleStart: 144001743,

retries: 3,
timeout: 15000,
userAgentAppendix: 'Node.js v16.19.0',
version: '10',
hashSweepInterval: 14400000,
hashLifetime: 86400000,
handlerSweepInterval: 3600000
},
jsonTransformer: [Function: toSnakeCase],
shards: [ 0 ]
},
rest: REST {
_events: [Object: null prototype] {
newListener: [Function (anonymous)],
removeListener: [Function (anonymous)]
},
_eventsCount: 2,
_maxListeners: undefined,
cdn: CDN { base: 'https://cdn.discordapp.com' },
requestManager: RequestManager {
_events: [Object: null prototype],
_eventsCount: 4,
_maxListeners: undefined,
agent: [Agent],
globalRemaining: 49,
globalDelay: null,
globalReset: 1672153734964,
hashes: [Collection [Map]],
handlers: [Collection [Map]],
hashTimer: Timeout {
_idleTimeout: 14400000,
_idlePrev: [TimersList],
_idleNext: [TimersList],
_idleStart: 144001743,

conscious-sapphire
conscious-sapphire3y ago
discord deve tá retornando um erro será?
1Lucas1.apk
1Lucas1.apk3y ago
Como 3 bots não iriam receber o mesmo erro TypeScript o global testei nele já
conscious-sapphire
conscious-sapphire3y ago
Servidor
plain-purple
plain-purpleOP3y ago
i tried to console log on updateVoiceState and it logged the VoiceServer only without VoiceState
conscious-sapphire
conscious-sapphire3y ago
Pra mim parece erro do discord
1Lucas1.apk
1Lucas1.apk3y ago
He tries 2 times
MEE6
MEE63y ago
GG @1Lucas1.apk, you just advanced to level 6!
1Lucas1.apk
1Lucas1.apk3y ago
On the first attempt, it only goes with one piece of information, so it doesn't continue On the second, he goes with the two pieces of information, then he sends but I don't know how to fix this error, I didn't find anything related to it, the errors that appear on the internet are objects
plain-purple
plain-purpleOP3y ago
This error prevents the function from being called successfully
1Lucas1.apk
1Lucas1.apk3y ago
What do you think it is? I will try to deprivatize it
plain-purple
plain-purpleOP3y ago
it can call now after edited out of class, but this.nodes is undefined
No description
1Lucas1.apk
1Lucas1.apk3y ago
?play all i want
Blobit - Moonlink.js
added track in queue Olivia Rodrigo - All I Want (Official Video) is playing now
plain-purple
plain-purpleOP3y ago
1Lucas1.apk
1Lucas1.apk3y ago
commonjs ?eval require('./@Rest/MoonlinkUtils.js')
Blobit - Moonlink.js
{
track: {
skip: [Function: skip],
skipEdit: [Function: skipEdit],
current: [Function: current],
editCurrent: [Function: editCurrent]
},
db: MoonlinkDB { data: { queue: [Object] } },
sendDs: [Function: sendDs],
esdw: [Function: esdw],
map: Map(3) {
'players' => { '990369410344701964': [Object] },
'voiceStates' => { '990369410344701964': [Object] },
'voiceServer' => { '990369410344701964': [Object] }
},
request: [Function: request],
makeRequest: [Function (anonymous)],
filters: [
'990369410344701964': {
nightcore: false,
vaporweve: false,
bassboost: false,
pop: false,
soft: false,
treblebass: false,
eightD: false,
karaoke: false,
vibrato: false,
tremolo: false,
custom: null
}
]
}
{
track: {
skip: [Function: skip],
skipEdit: [Function: skipEdit],
current: [Function: current],
editCurrent: [Function: editCurrent]
},
db: MoonlinkDB { data: { queue: [Object] } },
sendDs: [Function: sendDs],
esdw: [Function: esdw],
map: Map(3) {
'players' => { '990369410344701964': [Object] },
'voiceStates' => { '990369410344701964': [Object] },
'voiceServer' => { '990369410344701964': [Object] }
},
request: [Function: request],
makeRequest: [Function (anonymous)],
filters: [
'990369410344701964': {
nightcore: false,
vaporweve: false,
bassboost: false,
pop: false,
soft: false,
treblebass: false,
eightD: false,
karaoke: false,
vibrato: false,
tremolo: false,
custom: null
}
]
}
Luyz™
Luyz™3y ago
:Staricon: @1Lucas1.apk Adicionei Pharrell Williams - Happy (Video), A fila de espera!
Luyz™
Luyz™3y ago
Playback finished
<:Square_Ownership:1016806781835554836> Reproduzido: Pharrell Williams - Happy (Video)
1Lucas1.apk
1Lucas1.apk3y ago
TypeScript ?eval require('./@Rest/MoonlinkUtils.js').map
Blobit - Moonlink.js
Map(3) {
'players' => { '990369410344701964': null },
'voiceStates' => {
'990369410344701964': {
member: [Object],
user_id: '960185850346471505',
suppress: false,
session_id: 'bce5bc3ebf94d638d562f6cc547a16df',
self_video: false,
self_mute: false,
self_deaf: false,
request_to_speak_timestamp: null,
mute: false,
guild_id: '990369410344701964',
deaf: false,
channel_id: '1057326555937906859'
}
},
'voiceServer' => { '990369410344701964': { event: [Object] } }
}
Map(3) {
'players' => { '990369410344701964': null },
'voiceStates' => {
'990369410344701964': {
member: [Object],
user_id: '960185850346471505',
suppress: false,
session_id: 'bce5bc3ebf94d638d562f6cc547a16df',
self_video: false,
self_mute: false,
self_deaf: false,
request_to_speak_timestamp: null,
mute: false,
guild_id: '990369410344701964',
deaf: false,
channel_id: '1057326555937906859'
}
},
'voiceServer' => { '990369410344701964': { event: [Object] } }
}
1Lucas1.apk
1Lucas1.apk3y ago
?eval require('./@Rest/MoonlinkUtils.js').db
Blobit - Moonlink.js
MoonlinkDB { data: { queue: { '990369410344701964': null } } }
MoonlinkDB { data: { queue: { '990369410344701964': null } } }
1Lucas1.apk
1Lucas1.apk3y ago
?eval client.moon
Blobit - Moonlink.js
<ref *1> MoonlinkManager {
_events: [Object: null prototype] {
debug: [Function (anonymous)],
trackEnd: [AsyncFunction (anonymous)],
trackStart: [AsyncFunction (anonymous)]
},
_eventsCount: 3,
_maxListeners: undefined,
version: '1.8.54',
nodes: MoonlinkNodes {
manager: [Circular *1],
nodes: [ [Object] ],
options: { shards: 1, clientName: 'MoonLink/1.8.54' },
sPayload: [Function (anonymous)],
clientId: '960185850346471505',
stats: {
players: 0,
playingPlayers: 0,
uptime: 0,
memory: [Object],
cpu: [Object],
frameStats: [Object]
},
retryTime: 300000,
reconnectAtattempts: 0,
retryAmount: 5,
ws: WebSocket {
_events: [Object: null prototype],
_eventsCount: 4,
_maxListeners: undefined,
_binaryType: 'nodebuffer',
_closeCode: 1006,
_closeFrameReceived: false,
_closeFrameSent: false,
_closeMessage: <Buffer >,
_closeTimer: null,
_extensions: {},
_paused: false,
_protocol: '',
_readyState: 1,
_receiver: [Receiver],
_sender: [Sender],
_socket: [Socket],
_bufferedAmount: 0,
_isServer: false,
_redirects: 0,
_url: 'ws://painel.synchost.tk:5009',
_req: null,
[Symbol(kCapture)]: false
}
},
sendWs: [Function (anonymous)],
clientId: '960185850346471505',
[Symbol(kCapture)]: false
}
<ref *1> MoonlinkManager {
_events: [Object: null prototype] {
debug: [Function (anonymous)],
trackEnd: [AsyncFunction (anonymous)],
trackStart: [AsyncFunction (anonymous)]
},
_eventsCount: 3,
_maxListeners: undefined,
version: '1.8.54',
nodes: MoonlinkNodes {
manager: [Circular *1],
nodes: [ [Object] ],
options: { shards: 1, clientName: 'MoonLink/1.8.54' },
sPayload: [Function (anonymous)],
clientId: '960185850346471505',
stats: {
players: 0,
playingPlayers: 0,
uptime: 0,
memory: [Object],
cpu: [Object],
frameStats: [Object]
},
retryTime: 300000,
reconnectAtattempts: 0,
retryAmount: 5,
ws: WebSocket {
_events: [Object: null prototype],
_eventsCount: 4,
_maxListeners: undefined,
_binaryType: 'nodebuffer',
_closeCode: 1006,
_closeFrameReceived: false,
_closeFrameSent: false,
_closeMessage: <Buffer >,
_closeTimer: null,
_extensions: {},
_paused: false,
_protocol: '',
_readyState: 1,
_receiver: [Receiver],
_sender: [Sender],
_socket: [Socket],
_bufferedAmount: 0,
_isServer: false,
_redirects: 0,
_url: 'ws://painel.synchost.tk:5009',
_req: null,
[Symbol(kCapture)]: false
}
},
sendWs: [Function (anonymous)],
clientId: '960185850346471505',
[Symbol(kCapture)]: false
}
1Lucas1.apk
1Lucas1.apk3y ago
?eval client.moon.nodes.all
Blobit - Moonlink.js
undefined
undefined
1Lucas1.apk
1Lucas1.apk3y ago
?eval client.moon.nodes
Blobit - Moonlink.js
<ref *1> MoonlinkNodes {
manager: MoonlinkManager {
_events: [Object: null prototype] {
debug: [Function (anonymous)],
trackEnd: [AsyncFunction (anonymous)],
trackStart: [AsyncFunction (anonymous)]
},
_eventsCount: 3,
_maxListeners: undefined,
version: '1.8.54',
nodes: [Circular *1],
sendWs: [Function (anonymous)],
clientId: '960185850346471505',
[Symbol(kCapture)]: false
},
nodes: [
{
host: 'painel.synchost.tk',
port: 5009,
secure: false,
password: 'youshallnotpass'
}
],
options: { shards: 1, clientName: 'MoonLink/1.8.54' },
sPayload: [Function (anonymous)],
clientId: '960185850346471505',
stats: {
players: 0,
playingPlayers: 0,
uptime: 0,
memory: { free: 0, used: 0, allocated: 0, reservable: 0 },
cpu: { cores: 0, systemLoad: 0, lavalinkLoad: 0 },
frameStats: { sent: 0, nulled: 0, deficit: 0 }
},
retryTime: 300000,
reconnectAtattempts: 0,
retryAmount: 5,
ws: <ref *2> WebSocket {
_events: [Object: null prototype] {
open: [Function (anonymous)],
close: [Function (anonymous)],
message: [AsyncFunction (anonymous)],
error: [Function (anonymous)]
},
_eventsCount: 4,
_maxListeners: undefined,
_binaryType: 'nodebuffer',
_closeCode: 1006,
_closeFrameReceived: false,
_closeFrameSent: false,
_closeMessage: <Buffer >,
_closeTimer: null,
_extensions: {},
_paused: false,
_protocol: '',
_readyState: 1,
_receiver: Receiver {
_writableState: [WritableState],
_events: [Object: null prototype],
_eventsCount: 6,
_maxListeners: undefined,
_binaryType: 'nodebuffer',
_extensions: {},
_isServer: false,
_maxPayload: 104857600,
_skipUTF8Validation: false,
_bufferedBytes: 0,
_buffers: [],
_compressed: false,
_payloadLength: 239,
_mask: undefine
<ref *1> MoonlinkNodes {
manager: MoonlinkManager {
_events: [Object: null prototype] {
debug: [Function (anonymous)],
trackEnd: [AsyncFunction (anonymous)],
trackStart: [AsyncFunction (anonymous)]
},
_eventsCount: 3,
_maxListeners: undefined,
version: '1.8.54',
nodes: [Circular *1],
sendWs: [Function (anonymous)],
clientId: '960185850346471505',
[Symbol(kCapture)]: false
},
nodes: [
{
host: 'painel.synchost.tk',
port: 5009,
secure: false,
password: 'youshallnotpass'
}
],
options: { shards: 1, clientName: 'MoonLink/1.8.54' },
sPayload: [Function (anonymous)],
clientId: '960185850346471505',
stats: {
players: 0,
playingPlayers: 0,
uptime: 0,
memory: { free: 0, used: 0, allocated: 0, reservable: 0 },
cpu: { cores: 0, systemLoad: 0, lavalinkLoad: 0 },
frameStats: { sent: 0, nulled: 0, deficit: 0 }
},
retryTime: 300000,
reconnectAtattempts: 0,
retryAmount: 5,
ws: <ref *2> WebSocket {
_events: [Object: null prototype] {
open: [Function (anonymous)],
close: [Function (anonymous)],
message: [AsyncFunction (anonymous)],
error: [Function (anonymous)]
},
_eventsCount: 4,
_maxListeners: undefined,
_binaryType: 'nodebuffer',
_closeCode: 1006,
_closeFrameReceived: false,
_closeFrameSent: false,
_closeMessage: <Buffer >,
_closeTimer: null,
_extensions: {},
_paused: false,
_protocol: '',
_readyState: 1,
_receiver: Receiver {
_writableState: [WritableState],
_events: [Object: null prototype],
_eventsCount: 6,
_maxListeners: undefined,
_binaryType: 'nodebuffer',
_extensions: {},
_isServer: false,
_maxPayload: 104857600,
_skipUTF8Validation: false,
_bufferedBytes: 0,
_buffers: [],
_compressed: false,
_payloadLength: 239,
_mask: undefine
1Lucas1.apk
1Lucas1.apk3y ago
oops, a mistake Player.Destroy
Blobit - Moonlink.js
Publicado
plain-purple
plain-purpleOP3y ago
JSON.parse(sPayload) is missed
No description
1Lucas1.apk
1Lucas1.apk3y ago
@MOTO this was the same error with yours
plain-purple
plain-purpleOP3y ago
finally i know why player.connect() not working
1Lucas1.apk
1Lucas1.apk3y ago
Edit documentation soon AttemptConnect is still giving error?
plain-purple
plain-purpleOP3y ago
yes
plain-purple
plain-purpleOP3y ago
maybe i try to downgrade to v1.0.6?
No description
1Lucas1.apk
1Lucas1.apk3y ago
These files are old luyz is now in TypeScript put console.log(this.#nodes)
plain-purple
plain-purpleOP3y ago
No description
1Lucas1.apk
1Lucas1.apk3y ago
nodeCreate é emitido pela moonlink?
plain-purple
plain-purpleOP3y ago
No description
plain-purple
plain-purpleOP3y ago
that a event listener
No description
1Lucas1.apk
1Lucas1.apk3y ago
Então ele tá recebendo node so he is receiving
plain-purple
plain-purpleOP3y ago
yes
1Lucas1.apk
1Lucas1.apk3y ago
?play all i want
plain-purple
plain-purpleOP3y ago
but updateVoiceState() cannot access this.nodes
1Lucas1.apk
1Lucas1.apk3y ago
I'm deprivatizing these parts ?play all i want
plain-purple
plain-purpleOP3y ago
let me update it
No description
plain-purple
plain-purpleOP3y ago
time for me to rest, i will be back tomorrow
No description
1Lucas1.apk
1Lucas1.apk3y ago
?play all i want .. ?play all i want ?play all i want ?play all i want
Blobit - Moonlink.js
added track in queue Olivia Rodrigo - All I Want (Official Video) is playing now
1Lucas1.apk
1Lucas1.apk3y ago
Foi publicado nova versão New version published
plain-purple
plain-purpleOP3y ago
I tried to run it on sandbox but the error still exist
No description
1Lucas1.apk
1Lucas1.apk3y ago
I don't understand why it's giving this error I will reviewI will reviewI will review all javascript documentation of classes Until I find this error
plain-purple
plain-purpleOP3y ago
thx
1Lucas1.apk
1Lucas1.apk3y ago
I remembered a function that I had fixed because it wasn't receiving this, it was the players I already know how to fix a solution, make it static ?play all i want
MEE6
MEE63y ago
GG @1Lucas1.apk, you just advanced to level 7!
1Lucas1.apk
1Lucas1.apk3y ago
?play all i want
plain-purple
plain-purpleOP3y ago
have a try
No description
plain-purple
plain-purpleOP3y ago
oh i think why i have no error
1Lucas1.apk
1Lucas1.apk3y ago
now it's giving error in other bots
plain-purple
plain-purpleOP3y ago
im using 247 script which auto restart so i cannot see the error
plain-purple
plain-purpleOP3y ago
No description
1Lucas1.apk
1Lucas1.apk3y ago
You have to call the class and send this along, I'll finish making it public here
plain-purple
plain-purpleOP3y ago
oh i forgot
1Lucas1.apk
1Lucas1.apk3y ago
?play all i want
Blobit - Moonlink.js
added track in queue Olivia Rodrigo - All I Want (Lyrics) is playing now
1Lucas1.apk
1Lucas1.apk3y ago
I think this should solve the problem
plain-purple
plain-purpleOP3y ago
it cannot read this.nodes now
No description
plain-purple
plain-purpleOP3y ago
return MoonlinkManager.attemptConnection(packet.d.guild_id)

static attemptConnection(guildId) {
return MoonlinkManager.attemptConnection(packet.d.guild_id)

static attemptConnection(guildId) {
1Lucas1.apk
1Lucas1.apk3y ago
?eval const Discord = require('discord.js') const row = new Discord.ActionRowBuilder() .addComponents( new Discord.ButtonBuilder() .setCustomId('publish_npm') .setLabel('Publish') .setStyle(Discord.ButtonStyle.Danger), ); message.reply({ components: [row]})
Blobit - Moonlink.js
Promise { <pending> }
Promise { <pending> }
Publicado Publicado
1Lucas1.apk
1Lucas1.apk3y ago
@Nah install the new version and test it
plain-purple
plain-purpleOP3y ago
error
No description
1Lucas1.apk
1Lucas1.apk3y ago
Line 56, 65 You change this by manager There is a variable that stores this
plain-purple
plain-purpleOP3y ago
ye
plain-purple
plain-purpleOP3y ago
both this.node and this.sendWs undefined
No description
1Lucas1.apk
1Lucas1.apk3y ago
it wasn't this this, it was the lines I put
1Lucas1.apk
1Lucas1.apk3y ago
No description
1Lucas1.apk
1Lucas1.apk3y ago
change the this of attemptConnection
plain-purple
plain-purpleOP3y ago
oh
1Lucas1.apk
1Lucas1.apk3y ago
change this by manager
plain-purple
plain-purpleOP3y ago
testing
plain-purple
plain-purpleOP3y ago
it works now but voiceState[guildId].session_id not found
No description
plain-purple
plain-purpleOP3y ago
it seems like the bot cannot received the event when the bot connect to the voice channel
No description
1Lucas1.apk
1Lucas1.apk3y ago
map comes from utils, so it must be undefined
plain-purple
plain-purpleOP3y ago
i tried to log that
No description
MEE6
MEE63y ago
GG @Nah, you just advanced to level 5!
1Lucas1.apk
1Lucas1.apk3y ago
the bottom one also puts manager line 67
plain-purple
plain-purpleOP3y ago
the event cannot be processed cuz line 59 blocking by undefined reading by this.clientId is undefined but reading as manager.clientId is fine problem fixed.
1Lucas1.apk
1Lucas1.apk3y ago
i will change us main codes
plain-purple
plain-purpleOP3y ago
oops, that my problem
1Lucas1.apk
1Lucas1.apk3y ago
😔 kkkk It didn't generate another problem, did it? Players were organized for this kind of thing because they are in different blocks
plain-purple
plain-purpleOP3y ago
im fixing my problem
1Lucas1.apk
1Lucas1.apk3y ago
?play all i want
Blobit - Moonlink.js
added track in queue Olivia Rodrigo - All I Want (Lyrics) is playing now
1Lucas1.apk
1Lucas1.apk3y ago
?eval client.moon.this
Blobit - Moonlink.js
undefined
undefined
1Lucas1.apk
1Lucas1.apk3y ago
?eval this
Blobit - Moonlink.js
{}
{}
1Lucas1.apk
1Lucas1.apk3y ago
?eval global
Blobit - Moonlink.js
<ref *1> Object [global] {
global: [Circular *1],
queueMicrotask: [Function: queueMicrotask],
clearImmediate: [Function: clearImmediate],
setImmediate: [Function: setImmediate] {
[Symbol(nodejs.util.promisify.custom)]: [Getter]
},
structuredClone: [Function: structuredClone],
clearInterval: [Function: clearInterval],
clearTimeout: [Function: clearTimeout],
setInterval: [Function: setInterval],
setTimeout: [Function: setTimeout] {
[Symbol(nodejs.util.promisify.custom)]: [Getter]
},
atob: [Function: atob],
btoa: [Function: btoa],
performance: Performance {
nodeTiming: PerformanceNodeTiming {
name: 'node',
entryType: 'node',
startTime: 0,
duration: 421526.8351199627,
nodeStart: 8.624645948410034,
v8Start: 15.133753061294556,
bootstrapComplete: 82.36012387275696,
environment: 50.86603903770447,
loopStart: 1007.9888339042664,
loopExit: -1,
idleTime: 419764.818212
},
timeOrigin: 1672239007036.876
},
fetch: [AsyncFunction: fetch],
__extends: [Function: __extends],
__assign: [Function: assign],
__rest: [Function: __rest],
__decorate: [Function: __decorate],
__param: [Function: __param],
__metadata: [Function: __metadata],
__awaiter: [Function: __awaiter],
__generator: [Function: __generator],
__exportStar: [Function: __exportStar],
__createBinding: [Function (anonymous)],
__values: [Function: __values],
__read: [Function: __read],
__spread: [Function: __spread],
__spreadArrays: [Function: __spreadArrays],
__spreadArray: [Function: __spreadArray],
__await: [Function: __await],
__asyncGenerator: [Function: __asyncGenerator],
__asyncDelegator: [Function: __asyncDelegator],
__asyncValues: [Function: __asyncValues],
__makeTemplateObject: [Function: __makeTemplateObject],
__importStar: [Function: __importStar],
__importDefault: [Function: __importDefault],
__classPrivat
<ref *1> Object [global] {
global: [Circular *1],
queueMicrotask: [Function: queueMicrotask],
clearImmediate: [Function: clearImmediate],
setImmediate: [Function: setImmediate] {
[Symbol(nodejs.util.promisify.custom)]: [Getter]
},
structuredClone: [Function: structuredClone],
clearInterval: [Function: clearInterval],
clearTimeout: [Function: clearTimeout],
setInterval: [Function: setInterval],
setTimeout: [Function: setTimeout] {
[Symbol(nodejs.util.promisify.custom)]: [Getter]
},
atob: [Function: atob],
btoa: [Function: btoa],
performance: Performance {
nodeTiming: PerformanceNodeTiming {
name: 'node',
entryType: 'node',
startTime: 0,
duration: 421526.8351199627,
nodeStart: 8.624645948410034,
v8Start: 15.133753061294556,
bootstrapComplete: 82.36012387275696,
environment: 50.86603903770447,
loopStart: 1007.9888339042664,
loopExit: -1,
idleTime: 419764.818212
},
timeOrigin: 1672239007036.876
},
fetch: [AsyncFunction: fetch],
__extends: [Function: __extends],
__assign: [Function: assign],
__rest: [Function: __rest],
__decorate: [Function: __decorate],
__param: [Function: __param],
__metadata: [Function: __metadata],
__awaiter: [Function: __awaiter],
__generator: [Function: __generator],
__exportStar: [Function: __exportStar],
__createBinding: [Function (anonymous)],
__values: [Function: __values],
__read: [Function: __read],
__spread: [Function: __spread],
__spreadArrays: [Function: __spreadArrays],
__spreadArray: [Function: __spreadArray],
__await: [Function: __await],
__asyncGenerator: [Function: __asyncGenerator],
__asyncDelegator: [Function: __asyncDelegator],
__asyncValues: [Function: __asyncValues],
__makeTemplateObject: [Function: __makeTemplateObject],
__importStar: [Function: __importStar],
__importDefault: [Function: __importDefault],
__classPrivat
plain-purple
plain-purpleOP3y ago
no more problems now
1Lucas1.apk
1Lucas1.apk3y ago
:) Have a great day, I'm going to do the dishes now 😔
plain-purple
plain-purpleOP3y ago
have a great day
1Lucas1.apk
1Lucas1.apk3y ago
soon I will post the changes, finish the documentation events part as well
plain-purple
plain-purpleOP3y ago
and now im going to fix that how discord not sending the voice to my headphones but speaker
1Lucas1.apk
1Lucas1.apk3y ago
that was my mistake setDeaf setMute is placed in player.connect()
plain-purple
plain-purpleOP3y ago
no not that problems Discord sending the sounds to my speaker and my default output is my headphone
1Lucas1.apk
1Lucas1.apk3y ago
:)
plain-purple
plain-purpleOP3y ago
I think your docs need to update again
<player>.connect(selfMute: boolean, selfDeaf: boolean);
<player>.connect(selfMute: boolean, selfDeaf: boolean);
No description
plain-purple
plain-purpleOP3y ago
playee ... and <player>.disconnect(); or if(!<player>.connected) ?
No description
No description
1Lucas1.apk
1Lucas1.apk5mo ago
i didn't update ksksk, i took infos, i changed everything for other parts ?filter
Blobit - Moonlink.js
🎛️ Available Filters
reset, bass, nightcore, vaporwave, pop, soft, treblebass, 8d, karaoke, vibrato, tremolo, distortion
1Lucas1.apk
1Lucas1.apk5mo ago
?filter bass
Blobit - Moonlink.js
🎛️ Applied filter: bass
1Lucas1.apk
1Lucas1.apk5mo ago
?filter bass
Blobit - Moonlink.js
🎛️ Applied filter: bass
1Lucas1.apk
1Lucas1.apk5mo ago
:duke: because I'm in a post

Did you find this page helpful?