another problem with uploading files

what do i do, i tried to upload my discord bot files from github
55 Replies
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
sertxiv
sertxivOP3y ago
but it isn't music it is a moderation bot i made it in discord bot maker does that matter
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
sertxiv
sertxivOP3y ago
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
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
sertxiv
sertxivOP3y ago
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
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
sertxiv
sertxivOP3y ago
it says no results
sertxiv
sertxivOP3y ago
OHH
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
sertxiv
sertxivOP3y ago
look what i found in the package
sertxiv
sertxivOP3y ago
do i set it to false
jackson
jackson3y ago
remove that and remove the ytdl-core dependency it will likely break stuff tho lol since it's a template
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
sertxiv
sertxivOP3y ago
ok
sertxiv
sertxivOP3y ago
like this?
sertxiv
sertxivOP3y ago
ok i will try to use it now
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
jackson
jackson3y ago
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
sertxiv
sertxivOP3y ago
well uh i got some errors
sertxiv
sertxivOP3y ago
sertxiv
sertxivOP3y ago
sertxiv
sertxivOP3y ago
sertxiv
sertxivOP3y ago
jackson
jackson3y ago
oh
sertxiv
sertxivOP3y ago
heres some errors
jackson
jackson3y ago
need to update package lock
sertxiv
sertxivOP3y ago
how do i do that
jackson
jackson3y ago
just run npm i in ur repo should regen it iirc
sertxiv
sertxivOP3y ago
i runned it on pc it works fine (the bot)
jackson
jackson3y ago
nice
sertxiv
sertxivOP3y ago
so now i save and try again?
jackson
jackson3y ago
yea
sertxiv
sertxivOP3y ago
same thing
sertxiv
sertxivOP3y ago
sertxiv
sertxivOP3y ago
jackson
jackson3y ago
uhhhhh delete the lock file and then re-run npm on ur local
sertxiv
sertxivOP3y ago
delete the whole file?
jackson
jackson3y ago
yeah package-lock if you re-run npm after deleting it, you should see it re-appear
sertxiv
sertxivOP3y ago
ok it didn't reappear :/ but still somehow i was able to run it
jackson
jackson3y ago
even after running npm i? that shouldn't be the case
sertxiv
sertxivOP3y ago
what is npm i sorry for slow response
jackson
jackson3y ago
shorthand for npm install
sertxiv
sertxivOP3y ago
i resetted the modules there was an option to delete some i deleted the ytb something omg it worked it says successful now
jackson
jackson3y ago
nice
sertxiv
sertxivOP3y ago
btw i see it works now but if i would want to take it down how?
jackson
jackson3y ago
can just remove the deployment
sertxiv
sertxivOP3y ago
?
sertxiv
sertxivOP3y ago
or
sertxiv
sertxivOP3y ago
jackson
jackson3y ago
yeaaaaa that one
sertxiv
sertxivOP3y ago
alr
jackson
jackson3y ago
then if you commit again it will re-build automatically
sertxiv
sertxivOP3y ago
let me check if the bot responds to commands alr it works nice and clean tysm love you bro
jackson
jackson3y ago
np :3
Want results from more Discord servers?
Add your server