Represents a list item note on Guilded.

Example

new ListItemNote(item, rawListItemNote);

Hierarchy

Constructors

Properties

client: Client
content?: string

The content of the list item note.

createdAt: Date

The date the list item note was created.

createdBy: string

The ID of the user that created the list item note.

editedAt?: Date

The date the list item note was edited.

editedBy?: string

The ID of the user that edited the list item note.

id: string
item: ListItem
mentions?: APIMentions

The mentions of the list item note.

Accessors

  • get author(): undefined | ServerMember
  • The server member that created the list item note.

    Returns undefined | ServerMember

  • get createdTimestamp(): number
  • The timestamp the list item note was created.

    Returns number

  • get editedTimestamp(): undefined | number
  • The timestamp the list item note was edited.

    Returns undefined | number

  • get editor(): undefined | ServerMember
  • The server member that edited the list item note.

    Returns undefined | ServerMember

Methods

  • Fetch the server member that created the list item note.

    Returns

    The fetched server member.

    Example

    note.fetchAuthor();
    

    Parameters

    • Optional options: FetchOptions

      The options to fetch the server member with.

    Returns Promise<ServerMember>

  • Fetch the server member that edited the list item note.

    Returns

    The fetched server member.

    Example

    note.fetchEditor();
    

    Parameters

    • Optional options: FetchOptions

      The options to fetch the server member with.

    Returns Promise<undefined | ServerMember>