Skip to main content

DiscordVanityUrl

Documentation


Documentation / @discordeno/types / DiscordVanityUrl

Interface: DiscordVanityUrl

Defined in: discord/guild.ts:656

https://docs.discord.com/developers/resources/guild#get-guild-vanity-url

Extends

Properties

approximate_member_count?

optional approximate_member_count?: number

Defined in: discord/invite.ts:31

Approximate count of total members

Inherited from

DiscordInvite.approximate_member_count


approximate_presence_count?

optional approximate_presence_count?: number

Defined in: discord/invite.ts:29

Approximate count of online members (only present when target_user is set)

Inherited from

DiscordInvite.approximate_presence_count


channel?

optional channel?: Partial<DiscordChannel> | null

Defined in: discord/invite.ts:19

The channel this invite is for

Inherited from

DiscordInvite.channel


code

code: string | null

Defined in: discord/guild.ts:657


expires_at?

optional expires_at?: string | null

Defined in: discord/invite.ts:33

The expiration date of this invite

Inherited from

DiscordInvite.expires_at


flags?

optional flags?: number

Defined in: discord/invite.ts:41

Guild invite flags for guild invites.

See

DiscordGuildInviteFlags

Inherited from

DiscordInvite.flags


guild?

optional guild?: Partial<DiscordGuild>

Defined in: discord/invite.ts:17

The guild this invite is for

Inherited from

DiscordInvite.guild


guild_scheduled_event?

optional guild_scheduled_event?: DiscordScheduledEvent

Defined in: discord/invite.ts:35

guild scheduled event data

Inherited from

DiscordInvite.guild_scheduled_event


inviter?

optional inviter?: DiscordUser

Defined in: discord/invite.ts:21

The user who created the invite

Inherited from

DiscordInvite.inviter


roles?

optional roles?: Pick<DiscordRole, "id" | "name" | "position" | "color" | "colors" | "icon" | "unicode_emoji">[]

Defined in: discord/invite.ts:45

The roles assigned to the user upon accepting the invite

Inherited from

DiscordInvite.roles


target_application?

optional target_application?: Partial<DiscordApplication>

Defined in: discord/invite.ts:27

The embedded application to open for this voice channel embedded application invite

Inherited from

DiscordInvite.target_application


target_type?

optional target_type?: TargetTypes

Defined in: discord/invite.ts:23

The type of target for this voice channel invite

Inherited from

DiscordInvite.target_type


target_user?

optional target_user?: DiscordUser

Defined in: discord/invite.ts:25

The target user for this invite

Inherited from

DiscordInvite.target_user


type?

optional type?: DiscordInviteType

Defined in: discord/invite.ts:13

The type of invite

Inherited from

DiscordInvite.type


uses

uses: number

Defined in: discord/guild.ts:658