'Initialize the bot.
Args:
sessionhandler (PortalSessionHandler): The main sessionhandler object.
uid (int): User id for the bot.
url (str): The RSS URL.
rate (int): How often for the RSS to request the latest RSS entries.'

def __init__(self, sessionhandler, uid=None, url=None, rate=None):

    self.sessionhandler = sessionhandler
    self.url = url
    self.rate = rate
    self.uid = uid
    self.bot = RSSReader(self, url, rate)
    self.task = None
