DiscordVanityUrl
Documentation / @discordeno/types / DiscordVanityUrl
Interface: DiscordVanityUrl
Defined in: discord/guild.ts:656
https://docs.discord.com/developers/resources/guild#get-guild-vanity-url
Extends
Partial<Omit<DiscordInvite,"code">>
Properties
approximate_member_count?
optionalapproximate_member_count?:number
Defined in: discord/invite.ts:31
Approximate count of total members
Inherited from
DiscordInvite.approximate_member_count
approximate_presence_count?
optionalapproximate_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?
optionalchannel?:Partial<DiscordChannel> |null
Defined in: discord/invite.ts:19
The channel this invite is for
Inherited from
code
code:
string|null
Defined in: discord/guild.ts:657
expires_at?
optionalexpires_at?:string|null
Defined in: discord/invite.ts:33
The expiration date of this invite
Inherited from
flags?
optionalflags?:number
Defined in: discord/invite.ts:41
Guild invite flags for guild invites.
See
Inherited from
guild?
optionalguild?:Partial<DiscordGuild>
Defined in: discord/invite.ts:17
The guild this invite is for
Inherited from
guild_scheduled_event?
optionalguild_scheduled_event?:DiscordScheduledEvent
Defined in: discord/invite.ts:35
guild scheduled event data
Inherited from
DiscordInvite.guild_scheduled_event
inviter?
optionalinviter?:DiscordUser
Defined in: discord/invite.ts:21
The user who created the invite
Inherited from
roles?
optionalroles?: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
target_application?
optionaltarget_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?
optionaltarget_type?:TargetTypes
Defined in: discord/invite.ts:23
The type of target for this voice channel invite
Inherited from
target_user?
optionaltarget_user?:DiscordUser
Defined in: discord/invite.ts:25
The target user for this invite
Inherited from
type?
optionaltype?:DiscordInviteType
Defined in: discord/invite.ts:13
The type of invite
Inherited from
uses
uses:
number
Defined in: discord/guild.ts:658