Skip to main content
Module

x/biscuit/mod.ts>AnonymousGuild

A Discord library that is easy to use but reliable on its core 🥠
Latest
class AnonymousGuild
implements Model
extends BaseGuild
import { AnonymousGuild } from "https://deno.land/x/biscuit@0.2.4/mod.ts";

Class for anonymous guilds.

Constructors

new
AnonymousGuild(session: Session, data: Partial<DiscordGuild>)
new
AnonymousGuild(session: Session, data: DiscordGuild)

Properties

optional
bannerHash: bigint

The guild's banner hash.

optional
description: string

The guild's description.

nsfwLevel: GuildNsfwLevel

The guild's nsfw level.

optional
premiumSubscriptionCount: number

The number of boosts this guild currently has.

optional
splashHash: bigint

The guild's splash hash.

optional
vanityUrlCode: string

The guild's vanity url code.

verificationLevel: VerificationLevels

The guild's verification level.

Methods

bannerURL(options?: { size?: ImageSize; format?: ImageFormat; }): string | void

bannerURL gets the current guild banner as a string.

splashURL(options?: { size?: ImageSize; format?: ImageFormat; }): string | void

splashURL gets the current guild splash as a string.