core.discord.set_large_image

Client

Sets the large image asset of the Discord rich presence activity


Syntax

local status = core.discord.set_large_image(
    key,
    text = "N/A"
)

Parameters

TypeNameDescription
stringkeyAsset key of the large image to display
stringtextTooltip text shown when hovering over the large image

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Set the large image on a rich presence activity
-- Set large image without tooltip
core.discord.set_large_image("logo")

-- Set large image with tooltip
core.discord.set_large_image("logo", "Vital.server")

On this page