Illizian / discord-command-handler

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Laravel Discord Command Handler

Introduction

Accepts Discord Interactions at /api/webhook and allows you to register Commands

How it works...

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

About


Languages

Language:PHP 99.3%Language:JavaScript 0.4%Language:Blade 0.3%