guild

Constructor

new Guild(guildobject, client)

Properties

id

The ID of the provided guild

Returns - Number

name

The name of the provided guild

Returns - String

description

The description of the guild.

Returns - ?String

splash

The splash art string of the guild if any

Returns - ?String

discoverySplash

The discovery splash of the guild if any

Returns - ?String

features

An array of the guild features

Return - Array

icon

The icon string of the provided guild, if any

Returns - ?String

emojis

The emojis the guild have, if any

Returns - collection<emoji>

The banner string of the provided guild, if any

Returns - ?String

ownerID

The id of the guild owner

Returns - Number

afkChannelID

The id of the afk channel

Returns - Number

afkTimeout

The afk timeout time

Returns - Number

applicationID

The id of the application associated with the guild, if any

Returns - ?Number

systemChannelID

The id of the system channel, if any

Returns - ?Number

verificationLevel

The level of the verification of the guild

Returns - Number

systemChannelID

The id of the system channel, if any

Returns - ?Number

roles

The roles the guild have, if any

Returns - collection<?roles>

mfaLevel

The mfa level of the server

Returns - ?Number

maxMembers

The max possible amount of members a bot can have

Returns - ?Number

maxVideoChannelUsers

The max possible amount of members can be in a video channel at the same time

Returns - ?Number

vanityUrlCode

If the provide server have a custom invite string, that will be returned here.

Returns - ?String

premiumTier

The Level of boost the server have

Returns - ?Number

premiumSupscriptionCount

The number of boost the provided server have

Returns - ?Number

systemChannelFlags

The number of flags the system channel have

Returns - ?Number

preferredLocale

The preferred locale of the guild. if any

Returns - ?String

rulesChannelID

The ID of the rule channel for community servers.

Returns - ?Number

publicUpdatesChannelID

The ID of the public update channel for community servers.

Returns - ?Number

channels

The channels the guild have, if any

Returns - collection<?channel>

Methods

iconURL(options = {})

Return the icon url for the guild. Return new if server icon is its default icon.

Param

Required?

Description

options.format

false

The format of the url(png, jpg, webp, gif) | Default: png

options.size

false

The size of the image | Default: 2048

Last updated