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
| 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, or false on failure |
Examples
--Set large image without tooltip
discord.set_largeimage("logo")
--Set large image with tooltip
discord.set_largeimage("logo", "Vital.server")