Skip to content

Hephaestus, a Laravel-Zero framework project to easily create a Bot in a Laravel Environment.

Notifications You must be signed in to change notification settings

bc-ts/hephaestus-framework

Repository files navigation

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).

About

Hephaestus, a Laravel-Zero framework project to easily create a Bot in a Laravel Environment.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published