Vital.sandbox
Discord

discord.set_largeimage

Client

Sets the large image asset of the Discord rich presence activity


Syntax

local status = discord.set_largeimage(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, or false on failure

Examples

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

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

On this page