Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface GuildInvite

Hierarchy

Index

Properties

Methods

Properties

channel

channel: { id: string; name: string; type: 0 | 2 | 4 | 5 | 6 }

Type declaration

  • id: string
  • name: string
  • type: 0 | 2 | 4 | 5 | 6

code

code: string

guild

guild: { banner?: undefined | string; description?: undefined | string; features: string[]; icon?: undefined | string; id: string; name: string; splash?: undefined | string; vanityUrlCode?: undefined | string; verificationLevel?: undefined | 0 | 2 | 4 | 1 | 3 }

Type declaration

  • Optional banner?: undefined | string
  • Optional description?: undefined | string
  • features: string[]
  • Optional icon?: undefined | string
  • id: string
  • name: string
  • Optional splash?: undefined | string
  • Optional vanityUrlCode?: undefined | string
  • Optional verificationLevel?: undefined | 0 | 2 | 4 | 1 | 3

Optional inviter

inviter: undefined | User

Methods

delete

  • delete(reason?: string): Promise<void>
  • Parameters

    • Optional reason: string

    Returns Promise<void>

toJSON

  • Parameters

    • Optional props: string[]

    Returns JSONCache

Generated using TypeDoc