How to get your discord bot online 24/7 - FOR FREE

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
welcome back to another discord about tutorial in this video i'm gonna be showing you guys how to get your discord bot online 24 7 uh so let's jump right into it so in the previous video i showed you guys how to actually code a discord bot and a very basic command and as you can see it only works if you do no space dots if you close out of the terminal it will go offline so i'm going to be showing you guys how to fix that because once you actually have commands and once your bot is functional within your server you're going to need it to stay online 24 7 so it's best to just get it on right away so you're gonna go ahead and navigate to the website discloudbot.com you're gonna go ahead and click the login button uh the website defaults to spanish so just change your language to english or english and then once you've done that you should be able to log in basically you're just gonna authorize it with your discord accounts and then it will log you in so once you're logged in you can click the uh icon your icon right over there click dashboard and then as you can see i already have my discord bot right here because i already have a discord box hosted with this website but for you what you're going to want to do is you're going to click the add bot button and then once you're inside it it's going to look something like this without the top part so what you're going to want to go ahead and do is you're going to want to go over to the discord developer portal like we did in the last video and then we're going to go over to this tab right here and under general and then we're gonna copy the client id very important that you get that client id and that's where you're gonna paste in the bot id section so you can just paste that right there um and then for your main bot file all you're gonna need to do is type in index.js right here um you have to type in index.js so the website knows what file to actually look for when it's reading your zip file which we need to make right now so to make a zip file what we're going to want to do is we're going to navigate to the bots actual files and then we're just going to highlight all the stuff do not highlight node modules you will not need that just highlight the index and the package and package lock right click on it and then compress to zip file if you are not on windows 11 and that you cannot clearly figure it out just look up a separate tutorial on how to make a zip file but it should be pretty straightforward so once you compressed it into a zip file uh just go ahead and name that your bots tutorial bot zip something like that um and then you can just drag it out of your folder it's very important that you actually drag it out of your folder because you do not want it in your actual code otherwise it can cause errors so once you have that on your desktop all you have to do is drag the tutorialbot zip right into where it says zip and then you're just going to click the add bot button again it is going to look different for you because you're starting a new project but for me i already have a project here which i cannot change but once you have the client id once you've typed in index.js and then once you have your zip file that we just created dragged in here then all you have to do is click add bot so depending on your wi-fi speed this may take a little bit of time but it will automatically join a discord server on your account which will look something like this once you're signed in it will look like this and then it's very important that you actually stay in the server because to edit uh to edit your code you do not actually need this website so once you've created the bot and it turns online um you're gonna go ahead and close out of the website trust me you do not need this website you're never ever gonna need to visit it again so once you've closed out of it all you're gonna need to do is just commit your file into this discord server and it updates your bot so basically let's say i edit a code i i add a new command i add the member count command for example all i would have to do is go into my main bot file create a new zip and then drag it onto my desktop to replace the other one and then so that will update the code on the zip and then all i have to do is do dot c and then by doing dot c it will put me in a thread and all i have to do is literally upload the tutorial zip to the uh channel and then once the bot the disk cloud bot works as you can see right here it will go ahead and update this zip to your file so you do not actually have to worry about going into the website you can do this from your phone if you have the zip on your phone you can literally do it from anywhere and it even has a log feature so if it pings you when your bot crashes and when it's online you'll see that in just a second and all that stuff so it's actually very very helpful as you can see it's finished and then it says it's online so that is how you actually get your bots online 24 7 and as we can see the bot is currently online and it will stay like that unless there's an area in your code if there is an error in your code it will crash so make sure you have your code 100 working and as you can see if we test our test command it does work so yeah that's how you get your bot to stay online at 24 7. if this was helpful for you make sure you leave a like and subscribe in the next video i will be showing you guys how to make a member count command and how to make a warnet command or maybe i don't know we'll see um we might do some other fun stuff but yeah if you if you want to learn how to code discord bots more commands all that stuff leave a like subscribe um if this didn't work for you or you are having trouble with your discord bots and you watched the previous video just leave a comment or join my discord server in the description below and i'll be able to help you out um see ya see you in the next video
Info
Channel: MrJAwesome
Views: 88,551
Rating: undefined out of 5
Keywords: #discordbot, #discord.js, #tutorial, #codeadiscordbot
Id: wLxlYQiaD1I
Channel Id: undefined
Length: 5min 53sec (353 seconds)
Published: Sun May 01 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.