1
0

Added option to customize the messages sent when the users starts streaming

This commit is contained in:
2020-05-18 23:15:59 +02:00
parent 5309271ebc
commit f6e409e7d5
11 changed files with 801 additions and 245 deletions

View File

@@ -25,7 +25,10 @@ class TestWebhookAction extends FormRequest
public function rules()
{
return [
"discord_hook_url" => "required|url|starts_with:https://discordapp.com/api/webhooks/,https://discord.com/api/webhooks/"
"discord_webhook_url" => "required|url|starts_with:https://discordapp.com/api/webhooks/,https://discord.com/api/webhooks/",
"username" => "nullable|string|max:50",
"avatar" => "nullable|url",
"content" => "nullable|string|max:2000"
];
}
}