Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GuildTemplate

Hierarchy

  • GuildTemplate

Index

Constructors

constructor

Properties

code

code: string

createdAt

createdAt: number

creator

creator: User

description

description: null | string

isDirty

isDirty: null | string

name

name: string

serializedSourceGuild

serializedSourceGuild: Guild

sourceGuild

updatedAt

updatedAt: number

usageCount

usageCount: number

Methods

createGuild

  • createGuild(name: string, icon?: string): Promise<Guild>
  • Parameters

    • name: string
    • Optional icon: string

    Returns Promise<Guild>

delete

  • Returns Promise<GuildTemplate>

edit

sync

  • Returns Promise<GuildTemplate>

toJSON

  • Parameters

    • Optional props: string[]

    Returns JSONCache

Generated using TypeDoc