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

Reddit.Actions.Moderation

Synopsis

Documentation

bans :: Monad m => Options BanID -> SubredditName -> RedditT m (Listing BanID Ban) Source #

Get a list of existing bans on a subreddit. User must be a moderator of the subreddit.

lookupBan :: Monad m => Username -> SubredditName -> RedditT m (Maybe Ban) Source #

Check to see if a user is banned from a subreddit. Logged-in user must be a moderator of the subreddit