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

Translator Commands And Workflow

Commands And Interactions

Command / InteractionNotes
/translateDetected from command builders, config names, or interaction IDs in source.
/textDetected from command builders, config names, or interaction IDs in source.
/toDetected from command builders, config names, or interaction IDs in source.
/fromDetected from command builders, config names, or interaction IDs in source.
/autoDetected from command builders, config names, or interaction IDs in source.
/user1Detected from command builders, config names, or interaction IDs in source.
/language1Detected from command builders, config names, or interaction IDs in source.
/user2Detected from command builders, config names, or interaction IDs in source.
/language2Detected from command builders, config names, or interaction IDs in source.
/stopDetected from command builders, config names, or interaction IDs in source.

Workflow

  • A user runs the translator command with text and language options.
  • The plugin validates input and requests translation through the configured provider or library.
  • The translated result is posted in Discord.
  • Errors are returned through language-configured messages.

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.