UNPKG

justreddit

Version:

A simple package for getting random posts, random images, random SubReddits, and SubReddit info.

14 lines (13 loc) 333 B
export interface Reply { subreddit: string; postID: string; id: string; author: string; created: Date; body: string; isPostAuthor: boolean; likes: number; dislikes: number; archived: boolean; } export declare function reply(subreddit: string, postID: string, replyID: string): Promise<Reply>;