#Erorr in require('dotnev').config();

1 messages · Page 1 of 1 (latest)

sacred storm
#

Cannot process/stack in that process

grim parrotBOT
dusk maple
#

Can you show full error?

#

...

sacred storm
#

I use script "guardian moderation bot"

dusk maple
#

...

#

Go to startup

#

And scroll down

#

Find additional node packages

#

And put this there dotenv

#

After that restart your server

sacred storm
#

not successful

dusk maple
#

What the hell is startup command

#

node .

#

Change your hosting

sacred storm
#

he said it simplifies

#

said the one who has hosting

dusk maple
#

But still

#

If this hosting's startup script have

#

npm install

#

it will install automatically every package

#

You don't have to put them manually

sacred storm
#

hmm....

#

i have an idea

#

this works :v

#

If it's like this, it's a MongoDB error, right?

dusk maple
#

MongoDB error

sacred storm
dusk maple
#

Yea

sacred storm
#

hai

#

hi

dusk maple
#

?

sacred storm
#

I have an error in this section, this is a file from nothing music

dusk maple
#

For this to fix

#

This must be because

#

The lavalink

#

Or the shoukaku library

#

First go to startuo

#

Startup*

#

Find additional node packages

#

And put shoukaku@latest

#

After this restart

#

If the issue continues change the lavalink

sacred storm
#

wait a minute let me try first

#

btw... congratulations on your promotion 🙂

sacred storm
#

I've tried this... it seems like the problem is with Lavalink..

#

now this is the error

dusk maple
#

Error continues

#

Update your lavalink

sacred storm
# dusk maple Update your lavalink

Hmm.. now it's active, but only certain music can be found, meaning there are some songs that can't be found. Is there a solution so that all music can be found?

dusk maple
#

If yes Try playing them from yt or other platforms

sacred storm
dusk maple
sacred storm
#

It should be possible... because the music is also on Spotify

dusk maple
#

I was saying that

#

Spotify was getting an error

sacred storm
#

Source code no: 012

dusk maple
#

That's why I ask you if your bot take songs from Spotify or not

sacred storm
#

I don't know, in this bot there is no information whether it is played on Spotify or YouTube.

dusk maple
#

You should use youtube links then