getWidgetImageUrl
Documentation / @discordeno/bot / getWidgetImageUrl
Function: getWidgetImageUrl()
getWidgetImageUrl(
guildId
,options
?):string
Defined in: packages/utils/dist/types/images.d.ts:105
Builds a URL to the guild widget image stored in the Discord CDN.
Parameters
guildId
The ID of the guild to get the link to the widget image for.
options?
The parameters for the building of the URL.
Returns
string
The link to the resource.