Class Channel

Represents a guild channel.

Hierarchy

Constructors

Properties

_archivedAt: null | number

Timestamp (unix epoch time) of when the channel has been archived.

_createdAt: number

Timestamp (unix epoch time) of the channel's creation.

_updatedAt: null | number

Timestamp (unix epoch time) of the channel's edition. (if edited)

archivedBy: null | string

ID of the member that archived the channel (if archived)

categoryID: null | number

ID of the category the channel is in.

client: Client

Bot's client.

Raw data

groupID: string

ID of the group the channel is in.

guildID: string

Server ID

id: string | number

Item ID

isPublic: boolean
memberID: string

ID of the channel's creator.

name: string

Channel name

parentID: null | string

ID of the parent category.

topic: null | string

Channel topic/description

type: string

Channel type

Accessors

  • get archivedAt(): null | Date
  • Date of when the channel got archived, if archived.

    Returns null | Date

Methods