↗️ListItem

ListItem is a 'list channel' component. It has his own properties and methods.

Properties

Constructor

new ListItem(rawData, client)

Do not use this constructor unless you know what you're doing. This constructor is used to return you rawdata into component.

Methods

edit(content, note?)

Edit the list item.

Returns: Promise<ListItem>

delete()

Delete the list item.

Returns: Promise<void>

complete()

Set the item to 'complete'.

Returns: Promise<void>

uncomplete()

Set the item to 'uncomplete'.

Returns: Promise<void>

Last updated