Class Doc

Hierarchy

Constructors

Properties

_createdAt: null | number

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

_updatedAt?: null | number

Timestamp (unix epoch time) of when the doc was updated. (if updated)

channelID: string

ID of the 'docs' channel.

client: Client

Client

content: string

Content of the doc

guildID: string

Guild/server id

id: string | number

Item ID

memberID: string

ID of the member who created the doc.

mentions: APIMentions

Doc mentions

name: string

Doc title/name

title: string

Doc title/name

updatedBy?: null | string

ID of the member who updated the doc. (if updated)

Accessors

Methods

  • Parameters

    • options: {
          content?: string;
          title?: string;
      }
      • Optional content?: string
      • Optional title?: string

    Returns Promise<Doc>