Replies to a comment given by its id Warning: Only replies to top-level comments are shown on the Scratch website. Replies to replies are actually replies to the corresponding top-level comment in the API. Therefore, parent_id should be the comment id of a
(self, content, *, parent_id, commentee_id="")
| 909 | raise (exceptions.FetchError(f"Couldn't parse API response: {r.text!r}")) from e |
| 910 | |
| 911 | def reply_comment(self, content, *, parent_id, commentee_id=""): |
| 912 | """ |
| 913 | Replies to a comment given by its id |
| 914 | |
| 915 | Warning: |
| 916 | Only replies to top-level comments are shown on the Scratch website. Replies to replies are actually replies to the corresponding top-level comment in the API. |
| 917 | |
| 918 | Therefore, parent_id should be the comment id of a top level comment. |
| 919 | |
| 920 | Args: |
| 921 | :param content: Content of the comment that should be posted |
| 922 | |
| 923 | Keyword Arguments: |
| 924 | :param parent_id: ID of the comment you want to reply to |
| 925 | :param commentee_id: ID of the user that will be mentioned in your comment and will receive a message about your comment. If you don't want to mention a user, don't put the argument. |
| 926 | """ |
| 927 | return self.post_comment(content, parent_id=parent_id, commentee_id=commentee_id) |
| 928 | |
| 929 | def activity(self, *, limit=1000): |
| 930 | """ |