🐇HAREWIREBOT

HAREWIREBOT // CHANGELOG

Changelog

All notable changes to HarewireBot are documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

CURRENT RELEASE

[0.3.0]

Added

  • Added reusable slash command architecture.
  • Added /ping command handling through the command router.
  • Added /say command with a required message option.
  • Added command option support for slash commands.
  • Added centralized Discord command registration.
  • Added protected command registration using X-Registration-Secret.
  • Added Discord command permission registration.
  • Added runtime permission enforcement for commands.
  • Added Manage Messages permission protection to /say.
  • Added command synchronization through the /register endpoint.

Changed

  • Updated command routing to pass slash command options to command handlers.
  • Updated command registration to include command options and permission requirements.
  • Improved command definitions to support optional default member permissions.
  • Improved command handling architecture to support future commands and permissions.

Security

  • Added permission checks before executing protected commands.
  • /say is restricted to members with the Manage Messages permission.
  • /register continues to require the configured registration secret.

Testing

  • Verified /ping continues to respond correctly.
  • Verified /say responds correctly with a message.
  • Verified required command options are enforced by Discord.
  • Verified users without the required permission cannot use /say.
  • Verified /register rejects unauthorized requests.
  • Verified /commands reports the expected command definitions and permissions.
PRE-RELEASE

[0.2.0]

Added

  • Added a modular command system.
  • Added a dedicated /ping command module.
  • Added a command router for handling slash commands.
  • Added the HarewireCommand type for consistent command structure.

Changed

  • Separated Discord request handling from individual command logic.
  • Refactored /ping to use the new command architecture.
  • Improved the internal project structure to make future commands easier to add.

Verified

  • /ping continues to respond successfully with 🏓 Pong! after the architectural refactor.

Development Status

  • HarewireBot remains in active development.
  • v0.2.0 is a pre-release.
INITIAL RELEASE

[v0.1.0]

Added

  • Initial Cloudflare Workers project setup.
  • GitHub repository with automatic Cloudflare deployment.
  • Hono web framework integration.
  • Discord Interaction endpoint verification.
  • Secure environment variable support.
  • Initial slash command registration endpoint.
  • /commands endpoint for debugging registered guild commands.
  • First slash command: /ping.
  • Successful Discord → Cloudflare Worker → Discord interaction flow.
  • .env.example template.
  • MIT License.
  • Initial project documentation.

Changed

  • Improved interaction handling for Discord application commands.
  • Updated project dependencies to current versions.

Fixed

  • Fixed dependency version resolution during deployment.
  • Fixed package.json formatting issues preventing deployment.
  • Fixed Discord interaction endpoint verification.
  • Fixed /ping command routing to return 🏓 Pong!.
← BACK TO HOME