DocsProductsNexus Discord Bot Setup
Products

Nexus Discord Bot Setup

Environment configuration, Discord Developer portal intents, and self-hosting instructions for Nexus.

Last updated: September 2024

Nexus Discord Bot Setup

Nexus is an enterprise-grade Discord bot featuring automated tickets, HTML transcripts, and live server monitors.

1. Discord Developer Portal Setup

  • Navigate to the Discord Developer Portal.
  • Create a new application named Nexus (or your custom brand name).
  • In the Bot tab, enable the following Privileged Gateway Intents:
  • - PRESENCE INTENT

    - SERVER MEMBERS INTENT

    - MESSAGE CONTENT INTENT

  • Reset and copy your Bot Token.
  • 2. Environment Variables (.env)

    Create a .env file in the root directory of your bot deployment:

    ``env

    DISCORD_TOKEN=your_secret_bot_token_here

    CLIENT_ID=your_discord_application_id_here

    GUILD_ID=your_main_discord_server_id_here

    Ticket Transcript Settings

    TRANSCRIPT_PORT=3001

    TRANSCRIPT_PUBLIC_URL=https://transcripts.yourdomain.com

    Minecraft Server Query (Optional)

    MINECRAFT_SERVER_IP=play.yournetwork.com

    MINECRAFT_SERVER_PORT=25565

    `

    3. Running with Docker Compose

    We include a pre-configured docker-compose.yml for instantaneous hosting:

    `bash

    docker compose up -d --build

    `

    Check bot status and startup logs:

    `bash

    docker logs -f nexus_bot

    ``