Skip to content

APIGuild

APIGuild ⇐ Base

Represents a guild in the API.

Kind: global class
Extends: Base
Properties

NameTypeDescription
namestring | nullThe name of the guild.
descriptionstring | nullThe description of the guild.
regionstring | nullThe region of the guild.
verificationLevelVerificationLevel | nullThe verification level of the guild.
defaultMessageNotificationsDefaultMessageNotifications | nullThe default message notifications setting of the guild.
explicitContentFilterExplicitContentFilter | 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

ParamTypeDescription
[data]ObjectThe data object containing guild information.
clientClientThe client instance.