Methods
# setColor(color) → {OgProperties}
Set the color.
Parameters:
Name | Type | Description |
---|---|---|
color |
String | Hex code of the color. |
- Source:
Returns:
- Type
- OgProperties
# setDescription(description)
Set the description.
Parameters:
Name | Type | Description |
---|---|---|
description |
String | Description. |
- Source:
# setDiscordHideUrl(hide_url)
Set if the URL to the image should be hidden in discord.
Parameters:
Name | Type | Description |
---|---|---|
hide_url |
Boolean | if true, discord will hide the file's URL and display only the image in chat, if false, the file's URL will also be shown. Defaults to false. |
- Source:
# setTitle(title)
Set the title.
Parameters:
Name | Type | Description |
---|---|---|
title |
String | The title what else. |
- Source: