How to make a Discord Bot Without Downloading Anything + Host it Online FOREVER
Вставка
- Опубліковано 20 гру 2021
- Want to make a Discord Bot without downloading anything but also host it online forever? Awesome! This video is for you!
Is it still working in 2024? Yes it is, but do check the pinned comment.
In this video we're going to make a Discord Bot with downloading whatsoever + Make it stay online forever
Last year, I made a video about how to make a discord bot without downloading anything and that went very well but unfortunately some viewers were not ok with it because of the quality/how to add bot/how do you type that and more
also the video got a little outdated (thanks to DiscordJS v13)
so this time, I decided to make a updated video with better quality and more precision
Question: Why I can't paste in the shell?
If you're having trouble pasting the code in the shell, right click and paste.
Question: My repl.it is constantly getting deleted.
skip the replit file step.
-- Links --
Discord Developers Portal:
/ discord
Repl.it:
repl.it
Shell Code:
gist.github.com/ImagineGaming...
Uptime Robot:
uptimerobot.com/
If you want to learn the programming language that is used in this video, I've made a series specifically about it.
• Master JavaScript for ...
Need help with something?
Join my Discord Server:
▶ / discord
My Socials:
Discord: / discord
Github: github.com/imaginegamingplay (I don't put source code there)
Instagram: / imaginegamingplayofficial
Website: imagine.cf
--------------------
Closed Captions/Subtitles Team:
▶ Heather7 muktayib (Spanish)
/ @heather7h
▶ CanadianQwerty (French)
/ @canadianqwerty699
▶
--
Tags-:
discord bot
discord js
how to make a discord bot
thiscord bot
discordjs bot
how to make discord bot without downloading anything
how to make a discord js bot
discord.js
discord bot no download
discord bot tutorial
how to make discord bot 24/7
how to make discord bot online forever
how to make a discord bot with 24/7 hosting
how to make a discord and host it online forever
----
Thank you so much for watching, be sure to subscribe so you don't miss the next part.
Peace 💖 - Навчання та стиль
*Update 18 July, 2022*
If your bot is not online and if you have followed the steps correctly, do the following:
Open Shell and enter this command:
npm install discord.js@13.9.0
This should fix your problem
also, if you're not able to create the .replit file, skip that part!
---------
Continue watching this series:-
Embeds - A special way to send message through your discord bot
ua-cam.com/video/wPtkvL9rUXg/v-deo.html
Command Handling - Separate all your commands into different files
ua-cam.com/video/1KVGyUemRy0/v-deo.html
OMG finnaly!
can we edit the message?
hey can you put the code here so we dont need to code
CAN U SEND THE BOT CODE HERE PLS IT WENT OFFLINE
@@stunning-swap7gaming oh, if offline you need to active it, go to like end of video, he teach how to fix.
I can’t wait for part 2! I’ve always wanted to make a bot of my own but am unable to code because damn it’s complicated. Very very helpful!
Fr i dont know where to start like how do people remember all that
@@AliBounds even the programmers says that the language of coding can be English and only English
@@notnow7302 that’s tuff for the non English folks do you know at least a bit of it?
yeah the code is so hard
cant code either like wtf is the concept why did they make it so hard
OMG, Thanks so much for helping me in a long run I finally made my own 1st bot. I told my friends they didn't know much because they have many bots I was pretty happy
BUT NOW EVERYTHING CHANGED
U just earned my sub❤ Ty for instructions
I have been searching for a quotation mark tutorial. Thank you! (btw good vid)
lol
How is this possibly SO PERFECT..
No long intro, direct on the point simple explanations, nice tutorial...
You just gained a new subscriber......
Thank you
I have the same thing to say
@@ImagineGamingPlay why does it keep saying oauth2 doesnt have a bot
@@ImagineGamingPlay hey im having trouble with the part where u copy and paste the link to the url it keeps saying "OAuth2 application does not have a bot"
I first heard the tts and thought "oh another tts channel this probably wont be good" but its actually really well for a tts channel
Great Video! I have been trying to find many different ways to creat discord bots for my server. This is super ez and straight to the point. I don't know why this doesn't have at least 1 million views this is legendary. Love It! U just earned a new sub. Keep up the good work and I will be here for when u blow up
lol :p
tati video
well about 1 million views...
Thank You so much
I have created my bot right now and its responding
so, I'm going to upgrade it
Thanks! had some trouble since this tutorial is a bit old and they added new features, but i was able to do it.
I cant paste the code to replit can I get some help please.. his github says its private now and I cant copy it. I tried writing it there but it didnt work..
@@palaceyt4068 npm init -y && npm i --save-dev node@16 && npm config set prefix=$(pwd)/node_modules/node && export PATH=$(pwd)/node_modules/node/bin:$PATH
@@palaceyt4068 npm init -y && npm i --save-dev node@16 && npm config set prefix=$(pwd)/node_modules/node && export PATH=$(pwd)/node_modules/node/bin:$PATH
amazing ! so glad i found you, you're the only one that helps me ! can't wait for part 2 & more information :)
lora amazing
where is part 2
Thank you, kind man!Your guide is the best and easiest to understand of all that I have watched.
oh it took me 5 hours to understand
(not a joke)
@@TheWeeklyRobloxReporter And it did not work for me (not a joke too)
I DONT KNWO HWO TO COPY THE LINK AND PASE IT IN SHELL ITS NTO WORKIGN (ITS NTO A JOKE)
IT TOOK ME " HORUS ONLY FOR THAT AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
A
@@guimguinleo i didnt even try because it looks way to complicated (not a joke either)
@@xxanomynousx7526 it was very easy because i mod and hack (not a joke either)
Hey, I have done every single command but when I run the commands, it loops. Why does it happen? Please help, thanks
Ty bro, appreciate dis❤🎉
Imagine finally found his channel
he lost it again
@@mousomi8306 ofc
@@mousomi8306 no need to worry
Good morning wakey wakey..
Oh wassup naruto fan
This is absolute perfection, and is the most simple tutorial ever, I recommend this to EVERYONE
@@ninjago.clips_ shut up
@@ninjago.clips_ pressed mf 💀 "cry abt it"
YES.
It was TOOO FAST HOW COULD IT BE THAT SIMPLE
This retarded tutorial uses repl it for hosting your bot will go down constantly and you can get banned. 0/10
This helped me alot thanks man
Underrated UA-camr
Thank you so much :D it was really easy to follow
great tutorial this needs more views this is better than the one that has millions of views the guy would just be out of breath every second like bru. This one is gg easy and straight to the point
According to the bacteria in the corner
Robots don’t breathe
tati tutorial
this is amazing! And TYSMM! I now have a bot!
Ohh, first clear tutorial for discord amateurs! Subscribed! ❤️
This is super helpful, thankyou!
It says: "Invalid bitfield flag or number: GUILDS"
What should I do?
very good tutorial!
I use replit for school, and I had no idea it could be used for discord! Thank you!
Another way to keep is always on is with a replit bug: Run the repl and then close the tab. It'll stay running on their servers until you go in and stop it.
When I want to create a file with .replit it refuses it and close it
Question: there’s some automatically written code in my .remplit file! 😚😨do I erase that
Watching this tutorial makes me feel as if I have a future in Computer Science or anything tech related
me in replit every 5 seconds: THERE'S MORE?
Got error SyntaxError: Error parsing /home/runner/Bot/package.json: Unexpected token
SON at position 154
Pls help
Add a comma on the end of the line before "start"
I love the pfp! Also, very helpful!
Nice, now I can have my own bot for my server. Thanks!
You explain it better than 90% of videos out there
But there's no explaining, just code for you to copy?
True he is better then those other youtubers
@@chantivegaming9703 Better how?
@@Chris-nc5xs This video is about how to make a discord bot that can host forever. wdym? or u want to make a bot without coding lol
@@OriginoSky more like a tutorial for people don’t know how to code. For the person learning code like me this video doesn’t explain anything so we cant learn anything from this vids. Maybe we can read the code ourselves though…
it says SyntaxError: Error parsing /home/runner/Neco-bot/package.json: Unexpected string in JSON at position 145
Someone help bc I made my bot and when I use the commands it says only I can see it I wanna make it so others can see it to like how normal bots do!!!!!
THANK YOU SO MUCH!!!!! I could never find a tutorial that worked, so I gave up after a bit. Then I stumbled acrost your video, and it worked!!!!
I'll save this video to my playlist because its important and i love coding
Hey uh, so for the add new file “.replit” it says that a file or folder with that name already exists. I can’t carry on with my project
The best tutorial, it works.
it does not work for me, it shows:
ReferenceError: reqire is not defined
at Object. (/home/runner/mybot/index.js:12:17)
at Module._compile (node:internal/modules/cjs/loader:1196:14)
Hint: hit control+c anytime to enter REPL.
Project is running!
Thank you so much for this tutorial! It was very helpful.
For people wondering about the bot monitoring:
In new versions of the website, increase the Monitoring Interval to 5 mins, because of the free plan. Also, untick both check boxes because of the free plan. Don't worry about the extra stuff at the bottom, just press create. Hope this is helpful if you get stuck :)
how do you increase the monitoring?
@XCO tf
Can you do this for me I’m like trying everything and I js don’t think I have what to do it and I’mlike so annoyed 😞
Im stuck there’s no link to copy. 😭
Can you guys share bot hosting experience?
this tutorial was very clear! I loved it it was so helpful thank you!
hey i am trying to build a bot through your tutorial but i am having some problems
1. whenever i try to run the bot it shows an error in discord.js . how do i fix it
2.if i want to '/' commands like /afk
3. how do i add other commands like say , ban, mute etc
can u make tutorial for / command please? btw your videos are so good :)
im typing in exactly what you have here but it says "sh: npm: command not found" literally no matter what i do
This really worked TYSM
Thanks bro, you truly helped me. I recommend this for anyone who needs help functioning a bot
I despised reality for not having proper bot hosting, thanks man, you saved my bot. You're an Imagination (pun intended)
My bot is going offline. Can you share your bot hosting experience?
When i attempt to run the replit, it shows in red text: “SyntaxError: Error parsing /home/runner/hello/package.json: Unexpected token } in JSON at postion 142”
how do i fix this?
not fixable except version 13.9.0 i think
Help
Each time I press run it says that it can't find the npm
Can someone tell me how to fix this?
Can’t wait for part two. This was a very informative video, thank you.
Coming soon!
@@ImagineGamingPlay you are awesome bro just love you
@@ImagineGamingPlay do you have a link to the bg music used when you are coding the bot?
@@ImagineGamingPlay Hey you, this video didn't tell me their issues with a bot being fucking online, you need fixing not fake advertising
@@ghj743tf what?
SyntaxError: Error parsing /home/runner/Bott/package.json: Unexpected string in JSON at position 143
Hint: hit control+c anytime to enter REPL.
ummmm heelp it not working
Hey ik this is late but what does it mean if i have to make sure the port is opened and it's ready to receive HTTP traffic?
if my friends ask me who is this person i subscribed too im gonna say "he helped me make my own bot!!"
you can skip create .replit step or dont putting run = "npm start" if you have error with that step maybe can help you
yea i need help with that
hello, the tutorial is great and everything but there is a problem with the programming. At the part where you said to create a new file and to name it .replit, I tried it too but after entering it said "a file or folder with that name already exists". Did I do something wrong? Please help me.
I have it too
click on the three dots option (next to add file and add folder), then click on "Show hidden files"
v
@@ImagineGamingPlay thank you
@@ImagineGamingPlay what do I do after?
i got this error help please "unable to decode .replit: toml: line 1: expected '.' or '=', but got 'e' instead"
help please when you say to copy the token into the secret, for me it doesnt have a copy button it just has "reset token"
Hello! Wonderful tutorial by the way, but i have one single problem. When i was adding the replit file it said “a file or folder with that name already exists” when it doesn’t.. i followed every step, i watched the video again till that part but i didn't do anything different from you. Is there an explanation to my problem?
having the same problem
i figure it out! click on the three dots besdies the add file button and click show hidden files
@@kirbyoui thank you sooooo much!!!
@@kirbyoui wait, where do we put the npm thing in the file?? Do we delete the file and then put the npm thing????
@@zba1010 basically once you .replit from hidden files you delete everything from it
Can someone help me? When I click run this shows: "Make sure your repl has a port open and is ready to receive HTTP traffic." But I entered everything correctly. PLS HELPP
Im having that too
Me too
check the repl file to see if you have entered the run = "npm run start" command
Please help why does it say unable to run main file “.replit not found
hey uh i kinda need help so the problem is idk how to code and can you add the script you added for the bot?
i have a problem. my discord bot has been going on for about 6 months now. and its offline, and never respons to commands, ive kicked it out, made it rejoin, even deleted the code and retyped it. but still nothing. ive typed in on shell npm install discord.js@13.9.0 and still nothing, the only thing different about mine and your code is in the line client.on ("message", message => { is that the second message is in italics and blue and mine isnt any idea how to fix this?
same
It wont let me make a file named .replit it says that the file already exists
can anyone help me with that?
Getting error when hitting "Run"::
npm start
sh: 1: npm: not found
exit status 127
I got that same message I know im a year late but you have to go back to shell and run that github command
when i make a file called .replit it says it already exists what do i do?
Idk:(
A member in my server asked for a bot and usually my co-host handles those but she is offline so i had to handle it so thanks for this video!
Just curious did you get the paste for the shell to actually paste? I can’t get it
Nvm
Thank you ! and thanks to your staff to
When i go in the secret tab it just say "How can replit protect..." and blah blah blah but i cant see the token stuffs
I added a dad bot in my server💀💀💀
It doesn't work! I wrote the code exactly like you did and still it doesn't work. Also i can't make a new file called .replit for some reason. Could you help me figure out what's going on here?
you have to have show hidden files enabled because . replit exists
I am facing an error. When i click on start it showing me npm command not found. How to fix it?
Help is available in the discord server
There's an issue with the syntax of your webserver code
. It's causing a lot of concerns. Plus, you can't make a ".replit" file when there's already one in "hidden files". It will not allow you. Please update this. Thanks!
same for me
Click on the three dots option (next to add file and add folder), then click on "Show hidden files".
You may delete the previous .replit and create a new one
do not delete replit.nix.
@@ImagineGamingPlay ill try it. thanks
@@ImagineGamingPlay thanks this helped
@@ImagineGamingPlay ty
Please make a more up-to-date version of this video
The combination of me looking for stuff only to realize it's not even there and the speed of the video makes it hard to complete anything
Everything up until the shell part was fine
Aside from that, this tutorial was pretty easy to follow and well-explained
Me too 😡
And I’m using mobile
@@tomatoesims No, all on computer but some of the features in the video aren't up-to-date with the current ones
its called changing the speed duration
cant paste the shell, is that the same issue u were having?
help when i run it it starts then gets error sh: npm: command not found and just shuts down. helppppp
my bot is active but does not reply back ,im not sure what I did wrong
it keeps saying "exit status 1"
This tutorial seamed really easy and easy to follow until i got to the part where you needed to edit the code on line 6 (3:42) I couldn't find the line of code anywhere in mine did i do something wrong before?
same! :(
hello, watching this from 2 years ago from now, the new file named ".replit" is when you make the new file it shows "file name already exists" is there a solution for that?
hey Mines stuck on "Please Enter A Reirect uri" What do I do its where the Generated url is supposed to be
Hi there! Thank you for the GREAT video tutorial, i could make my first bot without huge knowledge in coding! The bot is running, works perfectly on my DC channel, but if i close the web browser (or the tab with replit on it), the bot goes offline. I cannot make it run "for ever". Maybe i made a mistake somewhere... :( Sorry for asking, but do you have any idea what's wrong with it? Thank you, and sorry again!
Use betteruptime.com/
oof
@@ImagineGamingPlay . replit file already exists showing
ye me too
@@sabanamalitya249
Do you have updated coding for this? I followed your video but the bot doesn't come online.
Someone commented with the fix for it. Not sure if you found an answer a month ago but it is here now.
@@biancarosado5319 where??
For some reason the code i was going to copy into the shell from github wont paste into the shell. Can someone help?
the bot is online and the code seems to be running fine, the problem is it doesnt return the messages in the channel
great Video btw! just 1 question. how do I get it to talk? i redid the actual code about ten times now and when I type out ping the bot never responds?? what can I do???
Same
you must add commands yourself to the bot,
Hi, i need help ;-;
when i try to run the program it just says:
nmp start
sh: nmp: command not found
exit status 127
I didn't delete replit.nix and i have the code (run = "nmp start") on .replit so i am confused- please help!
its npm not nmp
same problem...
When I run the bot it stays offline :(
There is a white box in the shell for Index.js's file So it will not let me paste the code
Awesome Video!
My dad also made a discord bot for himself B)
Ur dad is a frickin legend
Now add /dadjoke command lol
I dont understand but when you said your bot should be online, mine isnt :/ likes when you press run, mine say " Replit: Package operation failed." so should i give up my bot or ?
update : I'm giving up. im so tired its been hours since i tried to figure out what i did wrong. i'm just giving up.
The error is coming from package.json. please show me your package.json
*"test": "echo \"Error: no test specified\" && exit 1,*
"start": "node ."
you have to add the comma
mine still says replit: package operation fail ToT
When I get to packages and type in express...I'm not seeing the option he selected. Can anyone help? Do I just select the first option?
Help I have 2 step verification & it says ‘You are being rate limited’ what do I do?
4:00 I'm stuck on that part because when I click create new file and write .replit it tells me that there is already a file with that name, can someone help me?
click the three doted buttons and click "show hidden files"
@@dinomasterbanana1648 thx
@@dinomasterbanana1648 you just saved my life
What do I delete
In hidden flies
why is it not working? i followed all the steps!! on the console it says npm ERROR!
I’m on mobile and it doesn’t let me copy and paste? Can I get some help
At 4:02 , i can't add .replit because it says that the file is already made, and my shell looks different. What should I do?
yes same for me
click on the three dots option (next to add file and add folder), then click on "Show hidden files"
Excuse me, @Imagine Gaming Play I did just that and it already had a ton of code do I delete them? It says things like entry point, interpreter, and more but is their anyway I could give you a picture of it? If you do see this thank you for your time.
@@aroshootingarrows yes you may delete it and create a fresh .replit file
Thanks for answering. Sorry for the late reply.
Have a good day/night/morning
when i try to make the ".replit" file, its showing me a warning sign, what does that mean?
these days it wont work it happend to me , and when i pressed start the engine is broken or smth i think this tutorial is old ?! we need new update
You skip it the file is already premade
It won't let me paste the code into shell/ I figured it out but I don't know how to the make the arrow thing in the code it wasn't explained enough.
Yeah same the arrow when I typed the => like that it wouldnt work so idk
Bro what is this problem of the when I select my server it says no results found and I can't press continue