Skip to Content
Haven Documentation is the shared home for product guides, plugin setup, and release docs.
PluginsCalculatorCommands and Workflow

Calculator Commands And Workflow

Commands And Interactions

Command / InteractionNotes
/simpleDetected from command builders, config names, or interaction IDs in source.
/expressionDetected from command builders, config names, or interaction IDs in source.
/interactiveDetected from command builders, config names, or interaction IDs in source.
/historyDetected from command builders, config names, or interaction IDs in source.
/clearDetected from command builders, config names, or interaction IDs in source.
/viewDetected from command builders, config names, or interaction IDs in source.

Workflow

  • A user submits a calculation expression.
  • The plugin validates the expression before evaluation.
  • The result is sent back in Discord.
  • Invalid or unsafe expressions return an error response.

Expected Discord Behavior

  • The bot should respond only in channels where it has the needed view, send, embed, attach, or role-management permissions.
  • User-facing messages come from the language config when one exists.
  • Staff-only actions should be protected by the plugin permission settings and AthenaBot role permissions.