Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/discordeno/util/utils.ts>formatImageURL

Discord API library for Deno
Go to Latest
function formatImageURL
import { formatImageURL } from "https://deno.land/x/discordeno@17.0.1/util/utils.ts";

Help format an image url.

Parameters

url: string
optional
size: ImageSize = [UNSUPPORTED]
optional
format: ImageFormat