another problem with uploading files
what do i do, i tried to upload my discord bot files from github
55 Replies
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
but it isn't music
it is a moderation bot
i made it in discord bot maker
does that matter
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
no music commands but i might have downloaded the scripts for that
i tried at first to add it but i deleted it later
it also asked me to download some more files
for music thing
and i did downloaded
but i don't use it in the bot
it's only downloaded
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
not sure how to do that but i will try
oh
theres a lot of things in it
how do i find ytdl core
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
it says no results
OHH
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
look what i found in the package
do i set it to false
remove that and remove the ytdl-core dependency
it will likely break stuff tho lol
since it's a template
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
ok
like this?
ok i will try to use it now
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
i suspect it won't work lol, unless you removed the code that depended on it
but it's worth a shot
maybe it will only brick the modules related to those which you couldn't use anyways
well uh
i got some errors
oh
heres some errors
need to update package lock
how do i do that
just run npm i in ur repo
should regen it iirc
i runned it
on pc it works fine
(the bot)
nice
so now i save and try again?
yea
same thing
uhhhhh
delete the lock file and then re-run npm on ur local
delete the whole file?
yeah package-lock
if you re-run
npm
after deleting it, you should see it re-appearok
it didn't reappear
:/
but still somehow i was able to run it
even after running
npm i
?
that shouldn't be the casewhat is npm i
sorry for slow response
shorthand for
npm install
i resetted the modules
there was an option to delete some
i deleted the ytb something
omg
it worked
it says successful now
nice
btw
i see it works now but
if i would want to take it down
how?
can just remove the deployment
?
or
yeaaaaa that one
alr
then if you commit again it will re-build automatically
let me check if the bot responds to commands
alr it works nice and clean
tysm
love you bro
np
:3