Discord Eraser Bot

PartialGuild
in package

Read onlyYes
FinalYes
Tags
see
https://discord.com/developers/docs/resources/user#get-current-user-guilds-example-partial-guild

Table of Contents

Properties

$approximate_member_count  : int|null
$approximate_presence_count  : int|null
$banner  : string|null
$features  : array<string|int, mixed>
$icon  : string|null
$id  : string
$name  : string|null
$owner  : bool|null
$permissions  : string|null

Methods

__construct()  : mixed

Properties

$approximate_member_count

public int|null $approximate_member_count = null

$approximate_presence_count

public int|null $approximate_presence_count = null

Methods

__construct()

public __construct(string $id, string|null $name, string|null $icon, array<string|int, string> $features, string|null $banner[, bool|null $owner = null ][, string|null $permissions = null ][, int|null $approximate_member_count = null ][, int|null $approximate_presence_count = null ]) : mixed
Parameters
$id : string

Guild id.

$name : string|null

Guild name (2-100 characters, excluding trailing and leading whitespace).

$icon : string|null

Icon hash.

$features : array<string|int, string>

Enabled guild features.

$banner : string|null

Banner hash.

$owner : bool|null = null

True if the user is the owner of the guild.

$permissions : string|null = null

Total permissions for the user in the guild (excludes overwrites and implicit permissions).

$approximate_member_count : int|null = null

Approximate number of members in this guild, returned from the GET /guilds/ and /users/@me/guilds endpoints when with_counts is true.

$approximate_presence_count : int|null = null

Approximate number of non-offline members in this guild, returned from the GET /guilds/ and /users/@me/guilds endpoints when with_counts is true.


        
On this page

Search results