Bastion
on your own machine
Bastion is a multi-purpose Discord bot for moderation, automation and music. Installs a Bastion release and builds it on first start; it needs a MongoDB database.
$12 a month per machine, with as many servers as it can run. Already on Raptor? It's in your team's Eggs, as software/bastion.
What Raptor does for it
- Backups
- Incremental and encrypted on your machine, every day by default. Restore one file or the whole server.
- Runs on
- x86 and ARM machines, on Raptor's Node.js 24 image.
- Every server
- A live console, a file manager with a trash, schedules, crash restarts, alerts, and SFTP. It keeps running if Raptor goes down.
Settings you can change
From the server's Startup tab, without touching a file.
- Version
- The Bastion release to install, such as 10.19.0, or latest.Default
latest - Bot token
- Your Discord bot's token, from the Discord Developer Portal.
- Bot ID
- Your Discord application's client ID.
- Owner ID
- The Discord user ID of the bot's owner, added to the owners in settings.yaml.
- MongoDB connection
- The MongoDB connection string, such as mongodb://user:password@host:27017/bastion.
- Publish commands at start
- Register Bastion's slash commands with Discord every time it starts.
- Music activity
- Show the track that's playing as the bot's activity.
- Relay direct messages
- Forward direct messages the bot gets to its owner.
- Unsafe mode
- Allow the owner-only exec and eval commands. Leave it off unless you alone own the bot.
- API password
- A password for Bastion's web API on the server's port. Leave it empty to turn the API off.
From a bare machine
Link your machine
One command on any Debian or Ubuntu box, at home or rented.
Pick Bastion
Raptor installs it and starts it, on images it keeps updated.
Open it
At an address your machine comes with, or your own domain.
Made by Raptor and MIT-licensed. Based on the Bastion egg in https://github.com/pterodactyl/application-eggs (MIT) Icon: Bastion's logo, from https://github.com/TheBastionBot (GPL-3.0) The egg's source.