Accepts Discord Interactions at /api/webhook and allows you to register Commands
In a word; Jankily.
You create your Commands in app/DiscordCommands
, and register them in App/Providers/DiscordCommandsServiceProvider
:
$handler->command('/2/command/subcommand', \App\DiscordCommands\SubCommand::class);
Then; the Controller will use \App\DiscordCommands\SubCommand
to process the request