Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/discordeno_patched/helpers/mod.ts>getWidgetImageURL

Discord API library for Node and Deno
Go to Latest
function getWidgetImageURL
import { getWidgetImageURL } from "https://deno.land/x/discordeno_patched@18.0.2/helpers/mod.ts";

Builds a URL to the guild widget image stored in the Discord CDN.

Parameters

bot: Bot
  • The bot instance to use to build the URL.
guildId: BigString
  • The ID of the guild to get the link to the widget image for.
optional
options: GetGuildWidgetImageQuery
  • The parameters for the building of the URL.

Returns

string

The link to the resource.