githubEdit

Hosting

How to host my bot?

Once you have both Blocks and Your bot prepared, you are ready for hosting

Testing

For only testing your new command if it´s working, you can use build in hosting, you can find this in the Web app on right-side of navigation bar next to settings button.

Use this block in BASE category

This is the token you use from step 7. of Bot Setup

Hosting

You already made some working application and want to host it? Sure

You can use Many websites providing free hosting

One of the user friendly and basic one is replit.comarrow-up-right

or you can use websites like railway arrow-up-rightor herokuarrow-up-right

Hosting on Replit

  1. Create a new Repl

  2. Select Language as Node.js & name it whatever you want

  3. Here you put All of your exported files, export is not the .s4d file

file-archive
5KB
You can use this if you want

4. Make sure to put all files from the folder and you are done. You can now run your bot!

circle-exclamation

process.env

Secrets are environment variables (.env)arrow-up-right and they are unvisible to others.

Example how to use environmental variables on replit
circle-check

Possible Repercussions of Security Negligence

triangle-exclamation

Last updated

Was this helpful?