Skip to content

Latest commit

 

History

History
28 lines (26 loc) · 1.14 KB

README.md

File metadata and controls

28 lines (26 loc) · 1.14 KB

Hephaestus

  • Define Interaction Handlers on the move
  • Defining APPLICATION_COMMAND
    1. Creating a file in the good directory (currently: `/app/InteractionHandlers/SlashCommands`)
    2. Extending the \App\Framework\InteractionHandlers\ApplicationCommands\AbstractSlashCommand in your new php class.
    3. You must specify `name` and `description` property.
    4. The `handle` method will be invoked when the bot receive an interaction associated with this handler.

TODO:

  • Support handling for
    • ☑️ APPLICATION_COMMAND. (Not totally implemented).
    • ❌ PING interactions.
    • ❌ APPLICATION_COMMAND_AUTOCOMPLETE interaction
    • ❌ MODAL_SUBMIT interaction
    • ☑️ MESSAGE_COMPONENT interaction. (Not totally implemented).