Skip to main content
Module

x/wackford/discordeno.ts>getGuildBannerURL

The wackiest Discord bot framework for Deno powered by Discordeno
Go to Latest
function getGuildBannerURL
import { getGuildBannerURL } from "https://deno.land/x/wackford@v0.0.4/discordeno.ts";

Builds a URL to the guild banner 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 banner for.
options: { banner?: string | bigint; size?: ImageSize; format?: ImageFormat; }
  • The parameters for the building of the URL.

Returns

string | undefined

The link to the resource or undefined if no banner has been set.