mirror of
https://github.com/rico-vz/HeimerdingerLoL.git
synced 2025-12-06 10:10:48 +01:00
feat: Add Discord alert webhook, ContactCategory enum, form request
- Added Discord alert webhook URL to .env.example - Created ContactCategory enum with humanReadable method - Implemented ContactSubmissionRequest form request - Added ContactSubmission model with fillable and casts properties - Included configurations for Discord alerts and honeypot protection
This commit is contained in:
16
config/discord-alerts.php
Normal file
16
config/discord-alerts.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
* The webhook URLs that we'll use to send a message to Discord.
|
||||
*/
|
||||
'webhook_urls' => [
|
||||
'default' => env('DISCORD_ALERT_WEBHOOK'),
|
||||
],
|
||||
|
||||
/*
|
||||
* This job will send the message to Discord. You can extend this
|
||||
* job to set timeouts, retries, etc...
|
||||
*/
|
||||
'job' => Spatie\DiscordAlerts\Jobs\SendToDiscordChannelJob::class,
|
||||
];
|
||||
Reference in New Issue
Block a user