JRAW icon indicating copy to clipboard operation
JRAW copied to clipboard

Basic moderation features

Open mattbdean opened this issue 6 years ago • 0 comments

New classes:

  • ModerationReference
  • ModLogPaginator, ModLogPaginator.Builder
  • ModQueuePaginator, ModQueuePaginator.Builder

New endpoints:

// SubredditReference.kt
fun moderate(): ModerationReference
// ModerationReference.kt
fun log(actionType: String? = null, moderator: String? = null): ModLogPaginator
fun queue(location: String): ModQueuePaginator
fun acceptModeratorInvite()
fun approve(fullName: String)
fun remove(fullName: String, spam: Boolean? = null)
fun ignoreReports(fullName: String)
fun unignoreReports(fullName: String)
fun leaveContributor(subredditFullName: String)
fun leaveModerator(subredditFullName: String)
fun muteAuthorOf(messageFullName: String)
fun unmuteAuthorOf(messageFullName: String)

mattbdean avatar Jun 09 '18 22:06 mattbdean