Skip to content

Commit

Permalink
Added crosspost warning (#1019)
Browse files Browse the repository at this point in the history
* Added crosspost warning
  • Loading branch information
PrivateGER authored and jarhill0 committed Jan 27, 2019
1 parent 5f7828b commit 4e35504
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions AUTHORS.rst
Expand Up @@ -21,6 +21,7 @@ Documentation Contributors
- Watchful1 `@Watchful1 <https://github.com/Watchful1>`_
- theonefoster `@theonefoster <https://github.com/theonefoster>`_
- Eric Woolard `@ericwoolard <https://github.com/ericwoolard>`_
- Marc `@PerhapsSomeone <https://github.com/PerhapsSomeone>`_
- Add "Name <email (optional)> and github profile link" above this line.


Expand Down
3 changes: 3 additions & 0 deletions praw/models/reddit/submission.py
Expand Up @@ -272,6 +272,9 @@ def unhide(self, other_submissions=None):
def crosspost(self, subreddit, title=None, send_replies=True):
"""Crosspost the submission to a subreddit.
.. note::
Be aware you have to be subscribed to the target subreddit.
:param subreddit: Name of the subreddit or :class:`~.Subreddit`
object to crosspost into.
:param title: Title of the submission. Will use this submission's
Expand Down

0 comments on commit 4e35504

Please sign in to comment.