StruxaEggs Explorer

Bastion

Application

Bastion is a multi-purpose Discord Bot that can help you automate most tasks in your server, from administration and moderation to keeping the members active through various incentives, games and other fun activities

Author: parker@parkervcp.comSource: pterodactyl/application-eggsUpdated: 5/24/2026

Startup Command

{{STARTUP_CMD}}

Docker Images

LabelImage
Bastionghcr.io/ptero-eggs/yolks:bot_bastion

Environment Variables

NameVariableDefaultRules
Bot Token
The Bot Token you get from https://discordapp.com/developers/applications/
BOT_TOKENGETABOTTOKENrequired|string|max:80
Bot Client ID
The Bot ID you get from https://discordapp.com/developers/applications/
BOT_IDnonerequired|string|max:32
Mongo URL
use `mongodb://127.0.0.1:27017/bastion` for using the build in mongodb server
MONGO_URImongodb://127.0.0.1:27017/bastionrequired|string|max:128
Music Activity
When enabled, Bastion updates the activity to the currently playing track
BASTION_MUSIC_ACTIVITYtruerequired|string|in:true,false
Relay Direct Messages
When enabled, Bastion will relay any direct messages it receives to the owner of the bot application / team.
BASTION_RELAY_DMSfalserequired|string|in:true,false
Safe Mode
When enabled, this disables usage of unsafe commands like `exec` and `eval`.
UNSAFE_MODEfalserequired|string|in:true,false
Bastion API Port
Port used for Bastion API Server
BASTION_API_PORT8377required|string|max:10
Bastion API Auth
Auth for accessing the Bastion API Server.
BASTION_API_AUTHnonenullable|string|max:128
Startup cmd
set to `npm start` if you just want to start the bot. set to `npm run commands` to activate the slash commands
STARTUP_CMDnpm startrequired|string|in:npm start,npm run commands