Class ListItem

Represents an item of a "Lists" channel.


  • Base<string>
    • ListItem



Raw data

channelID: string

ID of the 'docs' channel.

client: Client

Bot's client.

completedAt: null | Date

When the list item was marked as "completed".

completedBy: null | string

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

content: string

Content of the doc

createdAt: null | Date

When the item was created.

editedTimestamp: null | Date

Timestamp at which the item was updated.

guildID: string

Guild id

id: string

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)



  • Edit this item.


    • Optional options: {
          content?: string;
          note?: {
              content: string;

      Edit options.

      • Optional content?: string
      • Optional note?: {
            content: string;
        • content: string

          The note of the list item

    Returns Promise<ListItem>