1.0.3 • Published 1 year ago
discord-yt-notifs v1.0.3
------ discord-yt-notifs 101 ------
- getVideos({ channelId: channel ID }) -
This function gets all videos from specified channel, given that they are not privated/unlisted.
- getLatest({ channelId: channel ID }) -
This function gets the latest video from specified channel, given that it is not privated/unlisted.
- getEarliest({ channelId: channel ID }) -
This function gets the earliest video from specified channel, given that it is not privated/unlisted.
- getAuthor({ channelId: channel ID }) -
This function gets the specified channel's name.
To use the data, just add .then(async data => {}) to your function!