Do I have to keep deploy-commands running?
I notice that the script does not automatically quit itself, does this mean it needs to be kept running?
If so, is there a "smarter" way to run it without needing to have two Terminal windows open?
20 Replies
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
It only needs to be ran once, then ended
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
I mean it works fine and the code is one to one with the djs guide
but good to know it does not need to be kept running
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
i dunno fam i am just using the code from djs guide
if it was having errors or other problems the code probably wouldnt work
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
ok i just realized there are a few modifications (mainly the check if the js file actually has data and execute in it)
node deploy-commands.js
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
yes i am
it works fine, it just does not automatically exit
? idk
its just code from the djs guide
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
it is all of deploy-commands
yeah pretty much
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
oh yeah no wait i have my dateTime thing not shown youre right
huh well i suppose that may be causing it then
i see
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
idk its an old piece of code i made like 2 years ago at this point and i have not looked much into changing it yet
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View