code: def run(self, *args, **kwargs):
          
          self.eventloop.run_until_complete(self.connect(*args, **kwargs))
          try:
              self.eventloop.run_forever()
          finally:
              self.eventloop.stop()
docs: Connect and run bot in event loop.