#nothing music bot music is not working
1 messages · Page 1 of 1 (latest)
Yes?
This old bug
I mean not bug but something else
Nothing bot / any JS music bot guide to fix DAVE issues
-
Open
package.json -
Find Lavalink client dependency
Examples
riffy
lavalink-client
poru
shoukaku -
Change version to latest
riffy: 1.0.12
lavalink-client: 2.9.7
poru: 5.3.0
shoukaku: 4.3.0
-
If self hosting Lavalink update server to
v4.2+ -
Restart bot and Lavalink node
what should i do?
Don't worry we made full message guided for this specific error
ooo ty
riffy: 1.0.12
lavalink-client: 2.9.7
poru: 5.3.0
shoukaku: 4.3.0 i will add it there
Find Lavalink client dependency
Examplesriffylavalink-clientporushoukaku where should i go?
nothing
yes
So it will be Shoukaku
Np
i have one more prob
@latent rampart
when i do !247 the bot is saying ❌ | An error occurred while toggling 24/7 mode.
24/7 mode error: TypeError: Cannot read properties of undefined (reading 'guildId')
at Object.execute (/home/container/src/commands/Music/247.js:56:34)
Hmmm
Go to that file
Commands/Music/247.js
Line 56
Find guildId and replace it with guild.id
ok
data = await db.create({
Guild: player.guild.id,
TextId: player.textId,
VoiceId: player.voiceId
i need to add . in this all?
or in only guild
there are voiceid textid
@latent rampart
i change teh guild only
On guildId only
ok
ty
the error is again comming
24/7 mode error: TypeError: Cannot read properties of undefined (reading 'guild')
at Object.execute (/home/container/src/commands/Music/247.js:56:34)
@latent rampart
Huh
.
this error again
No no not in player.guildId
Only in
message.guildId
replace it with message.guild.id
Sorry for that mistake
Nice
now?
which?
return message.reply({ embeds: [disabledEmbed] });
} else {
// If 24/7 mode doesn't exist, enable it
data = await db.create({
Guild: player.guildid,
TextId: player.textId,
VoiceId: player.voiceId
}); its like this
replace player.guildid with player.guildId
ok
Else bot is going to crash out
changed ✅
now?
i restarted the bot
but same error
at Object.execute (/home/container/src/commands/Music/247.js:56:34)```
@latent rampart
sorry for too much ping
Huh