MCPcopy Create free account
hub / github.com/TimMcCool/scratchattach / reply_comment

Method reply_comment

scratchattach/site/user.py:911–927  ·  view source on GitHub ↗

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="")

Source from the content-addressed store, hash-verified

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 """

Callers 1

replyMethod · 0.45

Calls 1

post_commentMethod · 0.95

Tested by

no test coverage detected