Skip to main content
Module

x/coward/src/structures/Guild.ts>Guild

🐔 Coward is a Deno module for easy interaction with the Discord API.
Latest
class Guild
import { Guild } from "https://deno.land/x/coward@v0.3.2/src/structures/Guild.ts";

Class representing a guild

Constructors

new
Guild(data: any, client: Client)

Properties

channels: Map<string, GuildChannelTypes | any>

A map of guild channels.

emojis: Map<string, GuildEmoji>

A map of emoji

id: string
members: Map<string, GuildMember>

A map of members

name: string
ownerID: string
region: string
roles: Map<string, Role>

A map of guild roles