reddit-0.3.0.0: Library for interfacing with Reddit's API
Safe HaskellNone
LanguageHaskell2010

Reddit.Actions.Flair

Description

Contains actions for handling flair on a subreddit-wise basis.

Synopsis

Documentation

getFlairList :: Monad m => SubredditName -> RedditT m FlairListing Source #

Get the flair list for a subreddit. Requires moderator privileges on the subreddit.

getFlairList' :: Monad m => Options UserID -> SubredditName -> RedditT m FlairListing Source #

Get the flair list for a subreddit (with Options). Requires moderator privileges on the subreddit.

addLinkFlair Source #

Arguments

:: Monad m 
=> SubredditName

The subreddit whose template you want to modify

-> Text

The intended CSS class of the new link flair

-> Text

The intended text label of the new link flair

-> Bool

Whether the flair should be editable by users

-> RedditT m () 

Add link flair to the subreddit-wide template for a subreddit that you moderate. Requires moderator privileges on the subreddit.