Skip to content

AnonymousGuild

Class for anonymous guilds.

https://discord.com/developers/docs/resources/guild#guild-resource

Extends

  • BaseGuild

Constructors

new AnonymousGuild(client, data)

1
new AnonymousGuild(client: UsingClient, data: APIPartialGuild): AnonymousGuild

Parameters

ParameterTypeDescription
clientUsingClient-
dataAPIPartialGuildUnique ID of the object

Returns

AnonymousGuild

Inherited from

BaseGuild.constructor

Source

seyfert/src/structures/extra/DiscordBase.ts:7

Properties

PropertyModifierTypeInherited from
bannerpublicundefined | null | stringBaseGuild.banner
clientreadonlyUsingClientBaseGuild.client
descriptionpublicundefined | null | stringBaseGuild.description
featurespublicundefined | GuildFeature[]BaseGuild.features
iconpublicnull | stringBaseGuild.icon
idpublicstringBaseGuild.id
namepublicstringBaseGuild.name
splashpublicnull | stringBaseGuild.splash
vanityUrlCodepublicundefined | null | stringBaseGuild.vanityUrlCode
verificationLevelpublicundefined | GuildVerificationLevelBaseGuild.verificationLevel
welcomeScreenpublicundefined | ObjectBaseGuild.welcomeScreen

Accessors

createdAt

1
get createdAt(): Date

createdAt gets the creation Date instace of the current object.

Returns

Date

Source

seyfert/src/structures/extra/DiscordBase.ts:27


createdTimestamp

1
get createdTimestamp(): number

Create a timestamp for the current object.

Returns

number

Source

seyfert/src/structures/extra/DiscordBase.ts:20


partnered

1
get partnered(): boolean

Returns

boolean

Source

seyfert/src/structures/extra/BaseGuild.ts:11


verified

1
get verified(): boolean

If the guild is verified.

https://discord.com/developers/docs/resources/guild#guild-object-guild-features

Returns

boolean

Source

seyfert/src/structures/extra/BaseGuild.ts:22

Methods

bannerURL()

1
bannerURL(options?: CDNUrlOptions): undefined | string

bannerURL gets the current guild banner as a string.

Parameters

ParameterTypeDescription
options?CDNUrlOptionsImage options for the banner url.

Returns

undefined | string

Banner url or void

Inherited from

BaseGuild.bannerURL

https://discord.com/developers/docs/reference#image-formatting

Source

seyfert/src/structures/extra/BaseGuild.ts:67


fetch()

1
fetch(): Promise<BaseGuild>

Fetch guild on API

Returns

Promise<BaseGuild>

Inherited from

BaseGuild.fetch

Source

seyfert/src/structures/extra/BaseGuild.ts:32


iconURL()

1
iconURL(options?: CDNUrlOptions): undefined | string

iconURL gets the current guild icon.

Parameters

ParameterType
options?CDNUrlOptions

Returns

undefined | string

Inherited from

BaseGuild.iconURL

https://discord.com/developers/docs/reference#image-formatting

Source

seyfert/src/structures/extra/BaseGuild.ts:41


splashURL()

1
splashURL(options?: CDNUrlOptions): undefined | string

splashURL gets the current guild splash as a string.

Parameters

ParameterTypeDescription
options?CDNUrlOptionsImage options for the splash url.

Returns

undefined | string

Splash url or void.

Inherited from

BaseGuild.splashURL

https://discord.com/developers/docs/reference#image-formatting

Source

seyfert/src/structures/extra/BaseGuild.ts:54


toString()

1
toString(): string

Returns

string

Inherited from

BaseGuild.toString

Source

seyfert/src/structures/extra/BaseGuild.ts:74