DiscordInvite
Extends
Section titled “Extends”LitElement
Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DiscordInvite():
DiscordInvite
Returns
Section titled “Returns”DiscordInvite
Inherited from
Section titled “Inherited from”LitElement.constructor
Accessors
Section titled “Accessors”The server icon to display for the invite.
inviteTitle
Section titled “inviteTitle”Invitation embed title.
Default Value
Section titled “Default Value”"You've been invited to join a server"
joinBtn
Section titled “joinBtn”The join button.
Default Value
Section titled “Default Value”'Join'
lightTheme
Section titled “lightTheme”Implementation of
Section titled “Implementation of”members
Section titled “members”The number of members on the server.
Default Value
Section titled “Default Value”0
The server’s name.
Default Value
Section titled “Default Value”'Discord Server'
online
Section titled “online”The number of members online on the server.
Default Value
Section titled “Default Value”0
partnered
Section titled “partnered”Whether the server is partnered.
Only works if verified
is false
or undefined
.
The URL to open when you click on the join button.
verified
Section titled “verified”Whether the server is verified.
Only works if partnered
is false
or undefined
.