reddit.multireddit¶
- class praw.models.MultiredditHelper(reddit, _data)¶
Provide a set of functions to interact with multireddits.
- Parameters:
reddit (praw.Reddit)
- __call__(*, name, redditor)¶
Return a lazy instance of
Multireddit.- Parameters:
- Return type:
- create(*, description_md=None, display_name, icon_name=None, key_color=None, subreddits, visibility='private', weighting_scheme='classic')¶
Create a new
Multireddit.- Parameters:
display_name (
str) – The display name for the new multireddit.subreddits (
str|Subreddit) – Subreddits to add to the new multireddit. Can be a list of eitherSubredditinstances or subreddit display names.description_md (
str|None) – Description for the new multireddit, formatted in markdown.icon_name (
str|None) – Can be one of:"art and design","ask","books","business","cars","comics","cute animals","diy","entertainment","food and drink","funny","games","grooming","health","life advice","military","models pinup","music","news","philosophy","pictures and gifs","science","shopping","sports","style","tech","travel","unusual stories","video", orNone.key_color (
str|None) – RGB hex color code of the form"#FFFFFF".visibility (
str) – Can be one of:"hidden","private", or"public"(default:"private").weighting_scheme (
str) – Can be one of:"classic"or"fresh"(default:"classic").
- Return type:
- Returns:
The new
Multiredditobject.