How to set the bot's startup file?
General Information
This guide is based on a bot written in JavaScript, however, bots written in Java and Python will also work in the same way.
Discord bot hosting is by default set to the engine supporting JavaScript. If you have a bot written in Java, you can change the language in the engine version tab.
Uploading the bot to hosting
For JavaScript, the best way to upload the bot is to connect via SFTP and copy the files to your server. The SFTP guide is already available in our IceHost.pl Knowledge Base.
Configuration
-
Once you have uploaded your bot's files, look for your startup file. It may have names such as: main.js, index.js, or bot.js (in the case of JavaScript).
If you cannot find your startup file, contact the bot developer. -
Check where your startup file is located. To make your work easier, you can check the path shown above the files:

-
Once you find your startup file, go to the
Startup Parameterstab. It’s best to save the path to this file. For example, in the screenshot above the path is home/container/index.js, which means it is located directly in the root directory. -
Find the field called Bot Startup File and enter the path to your startup file. If it is located in home/container/index.js, just enter index.js.

For example, if your startup file is located in home/container/src/client.js, then in this case just enter src/client.js

Once this is done, that’s basically it – you can start your bot.