A local API for bot testing purposes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

205 lines
10 KiB

<?php
// @formatter:off
/**
* A helper file for your Eloquent Models
* Copy the phpDocs from this file to the correct Model,
* And remove them from this file, to prevent double declarations.
*
* @author Barry vd. Heuvel <barryvdh@gmail.com>
*/
namespace App{
/**
* App\User
*
* @property int $id
* @property string $username
* @property string|null $password
* @property string|null $token
* @property int $discriminator
* @property string|null $avatar
* @property bool $bot
* @property bool $system
* @property int $flags
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Guild[] $guilds
* @property-read int|null $guilds_count
* @property-read \Illuminate\Notifications\DatabaseNotificationCollection|\Illuminate\Notifications\DatabaseNotification[] $notifications
* @property-read int|null $notifications_count
* @method static \Illuminate\Database\Eloquent\Builder|\App\User newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\User newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\User query()
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereAvatar($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereBot($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereDiscriminator($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereFlags($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User wherePassword($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereSystem($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereToken($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereUsername($value)
*/
class User extends \Eloquent {}
}
namespace App{
/**
* App\Guild
*
* @property int $id
* @property string $name
* @property int $user_id
* @property string|null $icon
* @property string|null $splash
* @property string $region
* @property int|null $afk_channel_id
* @property int|null $afk_timeout
* @property bool $embed_enabled
* @property int|null $embed_channel_id
* @property int $verification_level
* @property int $default_nessage_notifications
* @property int $explicit_content_filter
* @property int $mfa_level
* @property bool $widget_enabled
* @property int|null $widget_channel_id
* @property int|null $system_channel_id
* @property int $max_members
* @property string|null $vanity_url_code
* @property string|null $description
* @property string|null $banner
* @property int $premium_tier
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Channel[] $channels
* @property-read int|null $channels_count
* @property-read \Illuminate\Database\Eloquent\Collection|\App\User[] $members
* @property-read int|null $members_count
* @property-read \App\User $owner
* @method static \Illuminate\Database\Eloquent\Builder|\App\Guild newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Guild newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Guild query()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Guild whereAfkChannelId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Guild whereAfkTimeout($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Guild whereBanner($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Guild whereDefaultNessageNotifications($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Guild whereDescription($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Guild whereEmbedChannelId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Guild whereEmbedEnabled($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Guild whereExplicitContentFilter($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Guild whereIcon($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Guild whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Guild whereMaxMembers($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Guild whereMfaLevel($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Guild whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Guild wherePremiumTier($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Guild whereRegion($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Guild whereSplash($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Guild whereSystemChannelId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Guild whereUserId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Guild whereVanityUrlCode($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Guild whereVerificationLevel($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Guild whereWidgetChannelId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Guild whereWidgetEnabled($value)
*/
class Guild extends \Eloquent {}
}
namespace App{
/**
* App\Channel
*
* @property int $id
* @property int $type
* @property int $guild_id
* @property int $position
* @property string $name
* @property string|null $topic
* @property bool $nsfw
* @property int|null $bitrate
* @property int|null $user_limit
* @property int|null $rate_limit_per_user
* @property int|null $parent_id
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Channel[] $children_channels
* @property-read int|null $children_channels_count
* @property-read \App\Guild $guild
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Message[] $messages
* @property-read int|null $messages_count
* @property-read \App\Channel|null $parent_category
* @method static \Illuminate\Database\Eloquent\Builder|\App\Channel newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Channel newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Channel query()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Channel whereBitrate($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Channel whereGuildId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Channel whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Channel whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Channel whereNsfw($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Channel whereParentId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Channel wherePosition($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Channel whereRateLimitPerUser($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Channel whereTopic($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Channel whereType($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Channel whereUserLimit($value)
*/
class Channel extends \Eloquent {}
}
namespace App{
/**
* App\Message
*
* @property int $id
* @property int $user_id
* @property int $channel_id
* @property string $content
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property bool $tts
* @property bool $mention_everyone
* @property string $embeds
* @property string $nonce
* @property bool $pinned
* @property int $type
* @property-read \App\User $author
* @property-read \App\Channel $channel
* @property-read \App\Guild $guild
* @method static \Illuminate\Database\Eloquent\Builder|\App\Message newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Message newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Message query()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Message whereChannelId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Message whereContent($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Message whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Message whereEmbeds($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Message whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Message whereMentionEveryone($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Message whereNonce($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Message wherePinned($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Message whereTts($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Message whereType($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Message whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Message whereUserId($value)
*/
class Message extends \Eloquent {}
}
namespace App{
/**
* App\GuildMember
*
* @property int $id
* @property int $user_id
* @property int $guild_id
* @property string|null $nick
* @property string $joined_at
* @property string|null $premium_since
* @method static \Illuminate\Database\Eloquent\Builder|\App\GuildMember newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\GuildMember newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\GuildMember query()
* @method static \Illuminate\Database\Eloquent\Builder|\App\GuildMember whereGuildId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\GuildMember whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\GuildMember whereJoinedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\GuildMember whereNick($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\GuildMember wherePremiumSince($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\GuildMember whereUserId($value)
*/
class GuildMember extends \Eloquent {}
}