Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Support to Ban Users on a Subreddit #114

Merged
merged 13 commits into from
Jul 23, 2020
Merged

Add Support to Ban Users on a Subreddit #114

merged 13 commits into from
Jul 23, 2020

Conversation

Dan6erbond
Copy link
Owner

Closes #113

Feature Summary

Explain what's new in this pull request.

class SubredditBanned:

  • class SubredditBanned with add() and remove() methods to ban / unban users respectively.
    • Subreddit.banned() to retrieve a streamable class ListingGenerator for all the banned users.
  • class RedditorMixin for class BannedUser and class SubredditModerator to retrieve Redditor via redditor() method.

Other:

  • Optimize imports.
  • Refactor class ListingGenerator private members.

Tests Added

Describe tests if any were written.

  • test_subreddit_banned

@Dan6erbond Dan6erbond added enhancement New feature or request endpoint Addition or improvement of an API endpoint feature Helper functions or features for the wrapper labels Jul 23, 2020
@Dan6erbond Dan6erbond merged commit 19e8974 into master Jul 23, 2020
@Dan6erbond Dan6erbond deleted the issues/113 branch July 23, 2020 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
endpoint Addition or improvement of an API endpoint enhancement New feature or request feature Helper functions or features for the wrapper
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] Add Support to Ban Users on a Subreddit
1 participant