Skip to content
← Back to Community
Hosting Bastion discord bot on Repl.it
Profile icon
YellowBanana

Hosting Bastion on repl.it!

Bastion is a multipurpose discord bot made to control your server with ease! This guide will show you how can you host your own instance of Bastion on repl.it for free!

So let's start!

Bastion Logo

  • Make a repl by clicking the + button. Click on the github and then paste this link:
    https://github.com/TheBastionBot/Bastion.git

This should look like this:
BastionGithub

  • Now click on Import From GitHub, and then wait for it to import the files! After its done click on Done to update ur repl to NodeJS
    UpdateRepl

Now wait for it to update the repl, in the meantime, why not Donate Traction for making such an awesome bot!

  • When its done upgrading, simply click on Shell in the right side to install the dependencies, type npm install to install the dependencies!

While it is installing the dependencies simply open settings folder and then rename the files from configurations.example.yaml to configurations.yaml and credentials.example.yaml to credentials.yaml. And fill out the given values!
Tip: Here is a tutorial on how to get your discord bot token by reactiflux: click here
Here is another great tutorial on how to obtain a YT api key for music by RapidAPI: click here

  • When you are done with installing dependencies and filling the values simply start the bot by hitting the run button!
    Congrats! Your self hosted Bastion is now online and ready to interact!

Now the only thing remaining is setting up the uptimerobot! Ofc hosting bastion doesn't need to setup any server.js file! You will see that an api webserver automatically starts when u hit the run button! Simply copy the url of the webserver and setup uptime robot by following this guide! Click Here

Your webserver will look something like this:
image

And now your bastion will run 24/7! If you need any help join The Bastion HQ and ping me for help! Or even the staff there is extremely friendly so they may help you :) Peace Out

Voters
Profile icon
Fortnite100
Profile icon
JoeyKelly
Profile icon
iamsami
Profile icon
YellowBanana
Comments
hotnewtop
Profile icon
AtomicGamesYt

:)

Profile icon
JohnLui3

Hi there, I was wondering which values I needed to fill out in the configurations. Is the mongodb supposed to filled in? Thank you

Profile icon
alanchen12

tokens in a yaml file is bad

Profile icon
alanchen12

obfuscated code bruh

Profile icon
iamsami

Tysm for this guide ( Btw I'm iamsami#7346)

Profile icon
YellowBanana

ikr :) @iamsami