src/reddit_bot.py
def bot_exit(self, *args, **kwargs):
        """Saves self.processed_comments into cache file before exiting."""
        # pylint: disable=unused-argument
        print("\nStopping bot...")
        self.write_cache(CACHE_FILE, self.processed_comments)
        print("Bot stopped")
        sys.exit()
Saves self.processed_comments into cache file before exiting.
Saves self.processed_comments into cache file before exiting.
Saves self . processed_comments into cache file before exiting .
def bot_exit(self, *args, **kwargs):
        print("\nStopping bot...")
        self.write_cache(CACHE_FILE, self.processed_comments)
        print("Bot stopped")
        sys.exit()
def bot_exit ( self , * args , ** kwargs ) : print ( "\nStopping bot..." ) self . write_cache ( CACHE_FILE , self . processed_comments ) print ( "Bot stopped" ) sys . exit ( )
Saves self.processed_comments into cache file before exiting.
Saves self . processed_comments into cache file before exiting .
"""Saves self.processed_comments into cache file before exiting.""" # pylint: disable=unused-argument
self