code: def sleep(self, time):
          
          try:
              task = asyncio.ensure_future(self.core.sleep(time))
              self.loop.run_until_complete(task)
  
          except asyncio.CancelledError:
              pass
          except RuntimeError:
              pass
docs: Perform an asyncio sleep for the time specified in seconds. T
          his method should be used in place of time.sleep()
  
          :param time: time in seconds
          :returns: No return value