def METHOD_NAME(self, text, displayed, username, time,
                proposal, node_id, parent_id, moderator):
    """Called when a comment is being added.
    :param text: the text of the comment
    :param displayed: whether the comment should be displayed
    :param username: the name of the user adding the comment
    :param time: a date object with the time the comment was added
    :param proposal: the text of the proposal the user made
    :param node_id: the id of the node that the comment is being added to
    :param parent_id: the id of the comment's parent comment.
    :param moderator: whether the user adding the comment is a moderator
    """
    raise NotImplementedError()