APIGuild
APIGuild ⇐ Base
Represents a guild in the API.
Kind: global class
Extends: Base
Properties
Name | Type | Description |
---|---|---|
name | string | null | The name of the guild. |
description | string | null | The description of the guild. |
region | string | null | The region of the guild. |
verificationLevel | VerificationLevel | null | The verification level of the guild. |
defaultMessageNotifications | DefaultMessageNotifications | null | The default message notifications setting of the guild. |
explicitContentFilter | ExplicitContentFilter | null |
new APIGuild([data], client)
It takes in a data object and a client, and then sets the properties of the class to the values of the data object
Param | Type | Description |
---|---|---|
[data] | Object | The data object containing guild information. |
client | Client | The client instance. |