☀️ Summer Sale: get 10% off for life with code

Setting up Bastion on ServerPrism

Get your multi-purpose Bastion Discord bot running on ServerPrism for administration, moderation, and member engagement.

Last updated May 24, 2026

Bastion is a multi-purpose Discord Bot designed to automate server tasks, including administration, moderation, and member engagement through games and activities. This guide covers setting up your Bastion bot from the Discord Developer Portal to its first start on ServerPrism.

Create your bot in Discord Developer Portal

  1. Go to the Discord Developer Portal.
  2. Click New Application.
  3. Give your application a name (e.g., "MyBastionBot") and click Create.
  4. Navigate to the Bot tab in the left sidebar.
  5. Click Add Bot, then Yes, do it!.
  6. Under TOKEN, click Reset Token, then copy the token. Keep this token secure; you will need it for your ServerPrism instance.
  7. Scroll down to Privileged Gateway Intents.
  8. Enable the MESSAGE CONTENT INTENT. Bastion needs this to process commands and interactions that rely on message content.

Invite the bot to your server

  1. In the Discord Developer Portal, go to the OAuth2 tab, then URL Generator.
  2. Under SCOPES, select bot and applications.commands.
  3. Under BOT PERMISSIONS, select the permissions your bot needs. For a multi-purpose bot like Bastion, common permissions include:
    • Administrator (for full control, but use with caution)
    • Manage Channels
    • Kick Members
    • Ban Members
    • Send Messages
    • Read Message History
    • Connect (for voice features)
    • Speak (for voice features)
  4. Copy the generated URL at the bottom.
  5. Paste the URL into your browser and select the Discord server you want to add the bot to. Authorize the bot.

Order on ServerPrism

When ordering your server, a 1 GB RAM plan is usually sufficient for most Discord bots, including Bastion. Choose the region closest to your primary user base for optimal performance. Once your order is complete, ServerPrism deploys your bot's environment automatically.

Configure startup variables

Your ServerPrism panel includes a Startup tab where you set environment variables for your bot. These variables are crucial for Bastion to connect and function correctly.

  1. Log in to your ServerPrism panel.

  2. Navigate to your Bastion server.

  3. Click on the Startup tab.

  4. Set the following environment variables:

    • BOT_TOKEN: Paste the bot token you copied from the Discord Developer Portal.
    • PREFIX: Set your desired command prefix (e.g., !, /, b!). This is how users will interact with your bot (e.g., !help).
    • OWNER_ID: Your Discord user ID. This grants you special permissions with the bot. To find your user ID, enable Developer Mode in Discord (User Settings > Advanced), then right-click your username and select Copy ID.

    Bastion may require additional variables for specific features (e.g., database connections, API keys for external services). Consult the official Bastion documentation or the Startup tab in your panel for any other variables it might need.

First start

After configuring your startup variables:

  1. Go to the Console tab in your ServerPrism panel.
  2. Click the Start button.
  3. Monitor the console output. A successful startup typically shows messages indicating connection to Discord's gateway and the bot going online. You should also see your bot's status change to online in your Discord server.

Common issues

  • Bot token rejected/Invalid Token: Double-check that the BOT_TOKEN variable in your Startup tab is precisely the token copied from the Discord Developer Portal, with no extra spaces.
  • Bot online but not responding to commands: Ensure you enabled the MESSAGE CONTENT INTENT in the Discord Developer Portal under your bot's settings. Without this, the bot cannot read messages to process commands.
  • Bot not going online: Review the console logs for specific error messages. Common causes include incorrect environment variables or missing permissions.

Next steps

Once Bastion is running, explore its features by typing your chosen prefix followed by help (e.g., !help) in your Discord server. Bastion is a feature-rich bot; refer to its official documentation for a comprehensive list of commands and configuration options." options to fully leverage its capabilities." capabilities." capabilities." capabilities." capabilities." its capabilities." capabilities." its capabilities for moderation, administration, and fun activities.