Class DocChannel

Represents a "docs" channel.

Hierarchy

Constructors

Properties

archivedAt: null | Date

When the channel was last archived.

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.

createdAt: Date

When this channel was created.

creatorID: string

ID of the member who created this channel.

description: null | string

Channel description

docs: TypedCollection<number, APIDoc, Doc, []>

Cached docs.

editedTimestamp: null | Date

Timestamp at which this channel was last edited.

groupID: string

ID of the group the channel is in.

guildID: string

Server ID

id: string

Item ID

isPublic: boolean
name: string

Channel name

parentID: null | string

ID of the parent category.

type: string

Channel type

visibility: string

Channel visibility

Methods

  • Delete a doc from this channel.

    Parameters

    • docID: number

      ID of a doc.

    Returns Promise<void>