Wednesday, July 15, 2026 1:12:10 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
> 03_extensions.rb
# frozen_string_literal: true

#
# Loads core's standalone utility classes and the monkey-patches it ships
# for Ruby's stdlib types. These are loaded eagerly here (rather than via
# Zeitwerk) because the extensions *reopen* existing classes, which violates
# Zeitwerk's "one file = one constant" rule. `03_zeitwerk.rb` correspondingly
# adds them to the loader's ignore list.
#
# Layout under core/lib:
#
#   extensions/   monkey-patches on Logger, Array, Integer, String
#   utilities/    standalone helper classes (Inquirer, Timer)
#

Loader.dir("core", "lib", "extensions")
Loader.dir("core", "lib", "utilities")

# Discord-specific extensions stay service-side.
Loader.dir("service", "lib", "esm", "discord", "extension")
All opinions represented herein are my own
- © 2024 - 2026 itsthedevman
- build 43aa0d7