This commit is contained in:
Adrian Hopek
2022-04-21 15:03:49 +02:00
parent d60dc75f99
commit 7d12a1a153
9 changed files with 356 additions and 4 deletions

View File

@@ -0,0 +1,20 @@
<?php
use Toby\Domain\Slack\GiveKeysTo;
use Toby\Domain\Slack\HomeOffice;
use Toby\Domain\Slack\KeyList;
use Toby\Domain\Slack\TakeKeysFrom;
return [
'url' => 'api/slack',
'signing_secret' => env('SLACK_SIGNING_SECRET'),
'verify_with_signing' => true,
'handlers' => [
TakeKeysFrom::class,
GiveKeysTo::class,
KeyList::class,
HomeOffice::class,
Spatie\SlashCommand\Handlers\Help::class,
Spatie\SlashCommand\Handlers\CatchAll::class,
],
];