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

x/natico/examples/deps.ts>DiscordenoGuild

A powerful and customizable framework for Discordeno
Latest
interface DiscordenoGuild
implements Omit<Guild,
| "roles"
| "presences"
| "voiceStates"
| "members"
| "channels"
| "memberCount"
| "owner"
| "emojis"
| "id"
| "ownerId"
| "permissions"
| "afkChannelId"
| "widgetChannelId"
| "applicationId"
| "systemChannelId"
| "rulesChannelId"
| "publicUpdatesChannelId"
| "joinedAt"
| "icon"
| "banner"
| "splash"
| "stageInstances"
| "welcomeScreen"
| "channels"
>
Re-export
import { type DiscordenoGuild } from "https://deno.land/x/natico@4.0.0-pre.4/examples/deps.ts";

Properties

id: bigint

Guild id

ownerId: bigint

Id of the owner

permissions: bigint

Total permissions for the user in the guild (excludes overwrites)

optional
afkChannelId: bigint

Id of afk channel

optional
widgetChannelId: bigint

The channel id that the widget will generate an invite to, or null if set to no invite

optional
applicationId: bigint

Application id of the guild creator if it is bot-created

optional
systemChannelId: bigint

The id of the channel where guild notices such as welcome messages and boost events are posted

optional
rulesChannelId: bigint

The id of the channel where community guilds can display rules and/or guidelines

optional
publicUpdatesChannelId: bigint

The id of the channel where admins and moderators of Community guilds receive notices from Discord

shardId: number

The id of the shard this guild is bound to

memberCount: number

Total number of members in this guild

roles: Collection<bigint, DiscordenoRole>

The roles in the guild

voiceStates: Collection<bigint, DiscordenoVoiceState>

The Voice State data for each user in a voice channel in this server.

emojis: Collection<bigint, DiscordenoEmoji>

Custom guild emojis

bitfield: bigint

Holds all the boolean toggles.

optional
joinedAt: number

When this guild was joined at

optional
icon: bigint

Icon hash

optional
splash: bigint

Splash hash

optional
banner: bigint

Banner hash

optional
stageInstances: { id: bigint; guildId: bigint; channelId: bigint; topic: string; privacyLevel: number; discoverableDisabled: boolean; }[]

The stage instances in this guild

optional
welcomeScreen: { description?: string; welcomeChannels: { channelId: bigint; description: string; emojiId?: bigint; emojiName?: string; }[]; }