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
| Type | Name | Description |
|---|---|---|
string | key | Asset key of the large image to display |
string | text | Tooltip text shown when hovering over the large image |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
-- Set large image without tooltip
core.discord.set_large_image("logo")
-- Set large image with tooltip
core.discord.set_large_image("logo", "Vital.server")