import { GuildManager } from "https://deno.land/x/harmony@v2.9.1/src/managers/guilds.ts";
Constructors
new
GuildManager(client: Client)Methods
create(options: GuildCreateOptions): Promise<Guild>
Creates a guild. Returns Guild. Fires guildCreate event.
createFromTemplate(): Promise<Guild>
Create a new guild based on a template.
edit(): Promise<GuildPayload>
memberCacheSize(guild?: string | Guild): Promise<number>
Returns number of entries in Members Cache. Returns total of all guilds if guild param is not given
preview(guildID: string): Promise<GuildPreview>
Gets a preview of a guild. Returns GuildPreview.
set(key: string, value: GuildPayload): Promise<void>
Sets a value to Cache