Skip to content

Command Workflow

Create Command

arcane create command general/hello

Example Command (both)

{
  "name": "hello",
  "description": "Say hello",
  "type": "both",
  "package": null,
  "response": {
    "type": "message",
    "content": "Hello {{user.mention}}"
  }
}

Validate and Test

arcane validate
arcane dev

Test both:

  • Slash: /hello
  • Text: !hello

Scale Pattern

Use domain folders:

  • commands/general
  • commands/moderation
  • commands/music