Discord Bot Maker

Discord Bot Maker

Not enough ratings
[2024] How to host your bot 24/7 cheap
By Mathew
This guide will show you how simply it is to upload your bot to cheap hosting that works 24/7.
   
Award
Favorite
Favorited
Unfavorite
What will we be using?
We will be using a Polish hosting service named IceHost[icehost.pl] that has its servers in Europe.
It is very affordable considering what it offers, and it is known for its seamless performance.

You dont need any tools or programs to set up your bot on this hosting
But you need to register an account obviously

Please be aware that prices listed in euros/dollars may change over time
Choosing your bot hosting plan
IceHost offers 3 plans[dash.icehost.pl] for your bot, each at a discounted price. Unfortunately, the prices are listed in Polish currency, so I have converted them for you and provided them in euro and dolars

Currency
PLN
EUR
USD
2,5
0,58€
0,63$
5
1,16€
1,26$
10
2,31€
2,51$
15
3,47€
3,77$
03.03.2024
Don't worry, you won't have any trouble topping up your wallet.

Plans


Basic Plan
I personally recommend this plan(basic), which is entirely sufficient even for large bots.

Don't worry, you can uprgade your plan for free later

Adding funds (mathewu - 10% bonus code)
Now that you choosed your future plan, lets add some funds to your wallet
Go to -> Client panel -> User settings(on the left) -> Credits or click here[dash.icehost.pl]

If you don't have an account in Polish currency, use PayPal to top up your wallet.
The minimum recharge amount is 10 PLN, which is approximately 2,31€/2,51$

Look of the credits pannel

After topping up your funds, you can purchase the plan you have chosen
Preparing bot files
Now that you've purchased the server, we need to prepare the bot files.

Go to your project(bot) directory and put all files in .zip file
That's it; you don't need to delete anything. Just make sure you've put a good bot token in DBM.

Now we can move on to the site
Uploading files and setting up hosting
In your dashboard[dash.icehost.pl]
  • Select your server
  • Go to files
  • Drag your zip file with bot there
  • Click 3 dots and "Unpack"

  • Thats it. Now go to Startup parameters
    And do it like in picture

Your bot is now ready
All you need to do is go to Console and hit Start
Possible errors
Bot won't start
Sometimes bot just won't start after fresh install, all you need to do is jus go to Core Versions -> Node.js and hit RESTORE

Bot starts with errors
For unknown reason, some hostings just dont like "^" symbol in package.json - delete it

You can also edit this in website
Adding people to your bot
IceHost allows adding users for bot control, for example, granting permissions like only starting or restarting. You can set the specific permissions for each user.

Go to dashboard -> users

From now on, you can add people and manage their permissions.
Provide the email they used during the account registration.
FileZilla
FileZilla is a program that makes managing and updating your bot much easier. No need for manual file transfers through the icehost website.
You don't need this program, but it will greatly simplify your work.

You can download it for free from the https://filezilla-project.org/

Setup
You need server,user and password to sftp from dashboard
Type this and hit Quickconnect (port is the last numbers of server)

Better option
You can save and synchronize your folders by simple steps, go to site manager

Click create site and type in data from hosting, you can choose color.
Now go to advanced and set in your bot directory, write /data, check in synchronized
Final look
Now, everytime you move to a diffrent folder - The window on the right will also do the same.
Updating commands/events
Every time you want to update the commands, simply click twice on the file(left window) and then 'replace'.
Restart your server
End
I hope all of this has helped you set up your own bot on hosting, If you have any questions or issues, feel free to ask,write comments.