<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def run(self, forever=True):
 """start the bot"""

        loop = self.create_connection()
        self.add_signal_handlers()
        if forever:
            loop.run_forever()