Quote this post.

        Parameters
        ----------
        text : str
            Text to quote.  Defaults to the whole text of the post.

        Returns
        -------
        str
            A NationStates bbCode quote of the post.

def quote(self, text=None):
        """Quote this post.

        Parameters
        ----------
        text : str
            Text to quote.  Defaults to the whole text of the post.

        Returns
        -------
        str
            A NationStates bbCode quote of the post.
        """
        text = text or re.sub(r'\[quote=.+?\[/quote\]', '',
                              self.text, flags=re.DOTALL
                              ).strip('\n')
        return f'[quote={self.author.id};{self.id}]{text}[/quote]'