Skip to content

DiscordInvite

Extends

  • LitElement

Implements

Constructors

new DiscordInvite()

new DiscordInvite(): DiscordInvite

Returns

DiscordInvite

Inherited from

LitElement.constructor

Accessors

icon

The server icon to display for the invite.


inviteTitle

Invitation embed title.

Default Value

"You've been invited to join a server"

joinBtn

The join button.

Default Value

'Join'

lightTheme

Implementation of

LightTheme.lightTheme


members

The number of members on the server.

Default Value

0

name

The server’s name.

Default Value

'Discord Server'

online

The number of members online on the server.

Default Value

0

partnered

Whether the server is partnered. Only works if verified is false or undefined.


url

The URL to open when you click on the join button.


verified

Whether the server is verified. Only works if partnered is false or undefined.