XLQP Gen1
ElementsAdvanced integrations

AddDiscordImg

Adds a Discord invite image or prompt with remembered open behavior.

AddDiscordImg

What it does

Adds a Discord invite image or prompt with remembered open behavior.

When to use it

Use it to present a community invite in a visual card while controlling how the invite is opened.

ElementFunction:AddDiscordImg(DiscordConfig)

RightGroup:AddDiscordImg({
    Name = "Verbal Discord",
    Invite = "QEW8ap3MuV",
    Content = "Join for updates, changelogs, and support.",
    OpenMode = "Browser",
    RememberOpenMode = true
})

Behavior and return value

Call this method on the compatible section, tab, panel, or element container shown by the signature. Store the returned value when you need to update, read, or destroy the element later.

Fields marked optional may be omitted. XLQP then uses the method’s built-in default or leaves that feature disabled.