#nothing music bot music is not working

1 messages · Page 1 of 1 (latest)

covert oracle
#

Failed to create music player: Bad Request

ancient gullBOT
latent rampart
#

Yes?

#

This old bug

#

I mean not bug but something else

#

Nothing bot / any JS music bot guide to fix DAVE issues

  1. Open package.json

  2. Find Lavalink client dependency
    Examples
    riffy
    lavalink-client
    poru
    shoukaku

  3. Change version to latest

riffy: 1.0.12
lavalink-client: 2.9.7
poru: 5.3.0
shoukaku: 4.3.0
  1. If self hosting Lavalink update server to v4.2+

  2. Restart bot and Lavalink node

covert oracle
latent rampart
#

Don't worry we made full message guided for this specific error

covert oracle
#

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?

latent rampart
#

Which music bot you are using

#

From our AeroX Development

covert oracle
#

nothing

covert oracle
latent rampart
#

So it will be Shoukaku

covert oracle
#

ok

#

i change the shoukaku ver to 4.3.0

#

tysm fixed

#

ty for your time

latent rampart
#

Np

covert oracle
#

@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)

latent rampart
#

Hmmm

#

Go to that file

#

Commands/Music/247.js

#

Line 56

#

Find guildId and replace it with guild.id

covert oracle
#

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

latent rampart
#

On guildId only

covert oracle
#

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

latent rampart
#

Huh

latent rampart
#

No no not in player.guildId

#

Only in

#

message.guildId

covert oracle
#

oo

#

player guild id?

latent rampart
#

Sorry for that mistake

latent rampart
#

it's player.guildId

covert oracle
#

ok

#

chnaged to Guild: player.guildid,

latent rampart
#

Nice

covert oracle
#

now?

latent rampart
#

But I is capital

#

Not small

covert oracle
#

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

latent rampart
covert oracle
#

ok

latent rampart
#

Else bot is going to crash out

covert oracle
#

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

latent rampart
#

Huh

latent rampart
#

This shouldn't be happening

#

Try using join cmd before using 247 cmd

covert oracle
#

ok]

#

done

#

ty

#

enabled

#

i need to first join command then

#

247