src/reddit_bot.py
def submit_comment(self, target, comment):
        """Submit comment to target submission or comment.

        Parameters
        ----------
        target : reddit.submission object or reddit.comment object
            Target Reddit submission or comment.
        comment : str
            Comment to post.

        Returns
        -------
        object
            reddit.comment of newly created comment.

        """
        try:
            if target.author != self.username:
                print("Posting reply...")
                return target.reply(comment)
        except praw.exceptions.APIException as error:
            print("API Error:", error)
            raise
Submit comment to target submission or comment.

        Parameters
        ----------
        target : reddit.submission object or reddit.comment object
            Target Reddit submission or comment.
        comment : str
            Comment to post.

        Returns
        -------
        object
            reddit.comment of newly created comment.

        
Submit comment to target submission or comment.
Parameters

target : reddit.submission object or reddit.comment object
Target Reddit submission or comment.
comment : str
Comment to post.

Returns

object
reddit.comment of newly created comment.
Submit comment to target submission or comment . Parameters target : reddit . submission object or reddit . comment object Target Reddit submission or comment . comment : str Comment to post . Returns object reddit . comment of newly created comment .
def submit_comment(self, target, comment):
        try:
            if target.author != self.username:
                print("Posting reply...")
                return target.reply(comment)
        except praw.exceptions.APIException as error:
            print("API Error:", error)
            raise
def submit_comment ( self , target , comment ) : try : if target . author != self . username : print ( "Posting reply..." ) return target . reply ( comment ) except praw . exceptions . APIException as error : print ( "API Error:" , error ) raise
Submit comment to target submission or comment.
Submit comment to target submission or comment .
"""Submit comment to target submission or comment.

        Parameters
        ----------
        target : reddit.submission object or reddit.comment object
            Target Reddit submission or comment.
        comment : str
            Comment to post.

        Returns
        -------
        object
            reddit.comment of newly created comment.

        """
self
target
comment