Wednesday, July 15, 2026 2:54:28 AM
> project show esm_bot
A sophisticated Discord bot that bridges Arma 3 Exile servers with Discord communities. Built in Ruby with secure TCP communication, it delivers territory management, real-time notifications, and comprehensive server administration right in your Discord channels.
Details
> esm_stubs.rb
# frozen_string_literal: true

# Stub ESM module methods that are expected to be provided by consuming applications
module ESM
  class Environment
    def initialize(name)
      @name = name
    end

    def production?
      @name == "production"
    end

    def development?
      @name == "development"
    end

    def test?
      @name == "test"
    end

    def to_s
      @name
    end
  end

  class << self
    def env
      @env ||= Environment.new("test")
    end

    def config
      @config ||= Struct.new(:print_to_stdout).new(false)
    end

    def backtrace_cleaner
      @backtrace_cleaner ||= ActiveSupport::BacktraceCleaner.new
    end
  end
end
All opinions represented herein are my own
- © 2024 - 2026 itsthedevman
- build 43aa0d7