Class ListItem

Represents an item of a "Lists" channel.

Hierarchy

Constructors

Properties

_completedAt: null | number

Timestamp (unix epoch time) of the list item completion

_createdAt: null | number

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

Raw data

_updatedAt: null | number

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

channelID: string

ID of the 'docs' channel.

client: Client

Bot's client.

completedBy: null | string

ID of the member that completed the item, if completed.

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: null | APIMentions
parentListItemID: null | string

The ID of the parent list item if this list item is nested

updatedBy: null | string

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

webhookID: null | string

ID of the webhook that created the list item (if it was created by a webhook)

Accessors

Methods