Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GuildMember

Hierarchy

Index

Constructors

Properties

avatar: null | string = null
client: Client
communicationDisabledUntil: null | Date = null
deaf: boolean = false
flags: GuildMemberFlags = ...
guildId: string
id: string
joinedAt: Date
mute: boolean = false
nickname: null | string = null
pending: boolean = false
premiumSince: null | Date = null
userId: null | string = null

Accessors

  • get communicationDisabledUntilTimestamp(): null | number
  • get createdAt(): Date
  • get createdTimestamp(): number
  • get joinedTimestamp(): number
  • get premiumSinceTimestamp(): null | number
  • get user(): null | User

Methods

  • disableCommunication(until: number | Date, reason?: string): Promise<GuildMember>
  • isCommunicationDisabled(): boolean
  • isPremiumSupporter(): boolean
  • kick(reason?: string): Promise<void>
  • setDeaf(deaf: boolean, reason?: string): Promise<void>
  • setMute(mute: boolean, reason?: string): Promise<void>
  • setNickname(nickname: string, reason?: string): Promise<void>
  • unban(reason?: string): Promise<void>
  • toJSON(data: any): any

Generated using TypeDoc