1
0
This repository has been archived on 2021-02-16. You can view files and clone it, but cannot push or open issues or pull requests.
Files
ttv-streamkit/app/DiscordWebhookMessage.php

37 lines
742 B
PHP

<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class DiscordWebhookMessage extends Model
{
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
"enabled",
"discord_webhook_url",
"username",
"avatar",
"content",
"has_embed",
"embed_color",
"embed_author_name",
"embed_author_url",
"embed_author_icon",
"embed_thumbnail",
"embed_title",
"embed_description",
"embed_url",
"embed_image",
"embed_fields"
];
public function twitchWebook() {
return $this->morphToMany("App\TwitchWebhook", "twitch_webhook_events");
}
}