Articles on: Getting Started

Automatically starting your bot

Welcome to Something.Host


In this guide you will learn how to setup your service to automatically setup your guide.



If you are a new user we recommend reading our Getting Started guide.

Your bot will have one set of commands that need to be executed to start it. For example in NodeJS bots, you usually run node <file>.js.

Go to Your service > Configuration and set your "Startup Command" to the command you wish the system to run to 'wake up' your bot!

In our NodeJS example, we will insert node bot.js


NodeJS Example startup command

If you run more than one commands, you can split them using semi-colons, for example command1; command2; command3

Updated on: 14/03/2021

Was this article helpful?

Share your feedback

Cancel

Thank you!