-
-
Notifications
You must be signed in to change notification settings - Fork 9
docs: various documentation improvements and fixes #303
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small nits
* @since 0.0.1 | ||
*/ | ||
public lastMessageID!: string | null; | ||
|
||
/** | ||
* When the last pinned message was pinned. | ||
* When the last pinned message was pinned in the channel. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we sure this isn't updated whenever we get a CHANNEL_PINS_UPDATE event?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Either I can't find it, or we don't even update it at all in the action...
https://github.com/dirigeants/core/blob/master/src/actions/channels/CHANNEL_PINS_UPDATE.ts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, you're right. Only place I see lastPinTimestamp set is in the constructor.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you submit a pull request for this? 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure thing. 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com>
This PR fixes various documentation errors and inconsistencies.