According to researches by the adsmember team
अपने डिस्कोर्ड बॉट को मुफ्त में होस्ट करने का सबसे आसान तरीका हरोकू नामक सेवा के साथ है। इस वीडियो में मैंने बताया है कि अपने स्वयं के डिसॉर्डर बॉट के लिए 24/7 होस्टिंग के लिए इसे कैसे सेट अप करें। ? वेबसाइट डैशबोर्ड बनाएं, अधिक उपयोगकर्ता प्राप्त करें, और अपने बॉट से कमाई करें:
अधिक ट्यूटोरियल देखें और हमारे डिस्कॉर्ड समुदाय में सहायता प्राप्त करें:
टाइमस्टैम्प: 00:00 हेरोकू के पेशेवरों और विपक्ष 01:01 एक जीथब रिपोजिटरी बनाना 09:03 एक हेरोकू ऐप बनाना 17:25 आउट्रो #discordjs #javascript #nodejs #wornoffkeys FTC कानूनी अस्वीकरण – मेरे वीडियो विवरण में पाए गए कुछ लिंक हो सकते हैं Affiliate Links, जिसका अर्थ है कि मैं आपके द्वारा मेरे लिंक के माध्यम से की गई बिक्री पर कमीशन बनाऊंगा। यह आपके लिए कोई अतिरिक्त कीमत नहीं है और यह चैनल का समर्थन करने में मदद करता है ताकि मैं और अधिक मुफ्त YouTube वीडियो बना सकूं।
source
? Make a Dashboard and Monetize Your Bot ? https://levelupyourbot.com
❓ Need help? Join our Discord ? https://wornoffkeys.com/discord
? Request a video ? https://wornoffkeys.com/content-idea
? More Discord tutorials ? https://wornoffkeys.com/playlist/djsv13
It immediately exists with code 0 after the process is started…
2022-06-09T03:36:52.000000+00:00 app[api]: Build succeeded
2022-06-09T03:36:55.376076+00:00 heroku[worker.1]: Starting process with command `: node main.js`
2022-06-09T03:36:56.824672+00:00 heroku[worker.1]: State changed from starting to up
2022-06-09T03:36:57.868039+00:00 heroku[worker.1]: Process exited with status 0
2022-06-09T03:36:57.985544+00:00 heroku[worker.1]: State changed from up to crashed
That ten seconds of panic when you check logs only to be greeted with a wall of errors before he cuts in the video telling u he missed something lol,
Thankyou.
what is that commander
Thanks! Helped heaps!
oh my god why didnt you add that Procfile shit into where it was actually relevant?! now im stuck!!! horrible editing come on man
Will it work in the bots which work in command handlers?
IF YOU RECEIVE THIS ERROR SyntaxError: Unexpected token '??='
This happens because heroku uses node version 14 !! check in console with node version
make sure in your packages.json you add the engines node: 16.x
example:
{
"name": "discord_bot",
"version": "1.1.1",
"engines": {
"node": "16.x"
},
"description": "A discord bot",
"main": "main.js",
"scripts": {
"test": "echo "Error: no test specified" && exit 1"
},
"author": "test",
"license": "ISC",
"dependencies": {
"axios": "^0.24.0",
"discord.js": "^13.3.1"
}
}
not working i was able to commit onces now i can't
wait, so if i connect my credit card it wont take any money if i choose the free one?
I receive this error on Heroku
./src/index.js: Permission denied
Can help me with that?
Didn't work for me. Rip
* Do I have to run the bot before closing vsc or something? *
You should add a disclaimer and change your title.
Heroku does not host 24/7 for "Free" it only hosts 550 Hours in a month which is around ~22 days. Then it Shuts down your bot until the next month arrives and resets the timer.
how do i turn the bot off using heroku?
I got an Error:
UnhandledPromiseRejectionWarning: Error [TOKEN_INVALID]: An invalid token was provided.
——————————————————————————————————
Idk what I did wrong but im trying to firgure it out, anyone know? I put client.login(process.env.DJS_TOKEN) and its still not working
so i made a worker procfile, but heroku doesn't show me the worker
any suggestions?
State changed from starting to crashed
So it not showing node index.js in heroku.com
please help the bot is on but my commands don't work anymore
I am getting an error inside heroku logs
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/app/index.js' ]
hi , after i host my bot it goes online , but if I input any new commands to my bot in visual studio code. then the bot isn't working 🙁
Thank you dude
without you i dont think i would ever be able to host my bot
Except GitHub private is paid for
If you are doing this in 2021, you can use directly GitHub Desktop
hey thanks man this was the only video that helped me so for that I will subscribe you and also can u plz plz make a separate video on how to update it!!!
the copied text from github while uploading code files to github might be different from what you did. keyword in the video was "master" but premade text on my github was "main" so it gave an error. just edit it "git push -u origin main" to "git push -u origin master" and try
d
In the log it says: 2021-06-05T14:55:57.284356+00:00 heroku[web.1]: Process exited with status 1
2021-06-05T14:55:57.364635+00:00 heroku[web.1]: State changed from starting to crashed
2021-06-05T14:55:57.368524+00:00 heroku[web.1]: State changed from crashed to starting
2021-06-05T14:55:59.894407+00:00 heroku[web.1]: Starting process with command `npm start`
2021-06-05T14:56:02.807616+00:00 app[web.1]: npm ERR! missing script: start
2021-06-05T14:56:02.816143+00:00 app[web.1]:
2021-06-05T14:56:02.816454+00:00 app[web.1]: npm ERR! A complete log of this run can be found in:
2021-06-05T14:56:02.816580+00:00 app[web.1]: npm ERR! /app/.npm/_logs/2021-06-05T14_56_02_808Z-debug.log
2021-06-05T14:56:02.888456+00:00 heroku[web.1]: Process exited with status 1
2021-06-05T14:56:03.044339+00:00 heroku[web.1]: State changed from starting to crashed.
What should I do?
thank you, this worked. liked.