Skip to content
This repository has been archived by the owner on Apr 27, 2024. It is now read-only.

docs: various documentation improvements and fixes #303

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

tjrgg
Copy link
Contributor

@tjrgg tjrgg commented Jul 10, 2020

This PR fixes various documentation errors and inconsistencies.

@tjrgg tjrgg marked this pull request as ready for review July 23, 2020 22:14
Copy link
Contributor

@vladfrangu vladfrangu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small nits

src/lib/caching/structures/User.ts Outdated Show resolved Hide resolved
* @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.
Copy link
Contributor

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?

Copy link
Contributor

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

Copy link
Contributor Author

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.

Copy link
Contributor

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? 😄

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure thing. 👍

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants