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

x/denocordts/src/rest/cdn.ts>CDNObject

An Object Oriented Discord API wrapper for Deno.
Latest
class CDNObject
import { CDNObject } from "https://deno.land/x/denocordts@1.2.0/src/rest/cdn.ts";

Constructors

new
CDNObject()

Methods

getCustomEmoji(unnamed 0: FormatWithId)
getDefaultUserAvatar(unnamed 0: { size?: ALLOWED_SIZES[number]; format?: keyof FileTypes; discriminator: string; })
getGuildBanner(unnamed 0: FormatWithHashAndId)
getGuildDiscoverySplash(unnamed 0: FormatWithHashAndId)
getGuildIcon(unnamed 0: FormatWithHashAndId)
getGuildMemberAvatar(unnamed 0: { guildId: string; userId: string; avatarHash: string; format?: keyof FileTypes; size?: ALLOWED_SIZES[number]; })
getGuildSplash(unnamed 0: FormatWithHashAndId)
getUserAvatar(unnamed 0: FormatWithHashAndId)
getUserBanner(unnamed 0: FormatWithHashAndId)