docs: def _get_sockets(bots):
      """Connects and gathers sockets for all chatrooms"""
      sockets = {}
      #sockets[sys.stdin] = 'stdio'
      for bot in bots:
          bot.connect()
          sockets[bot.client.Connection._sock] = bot
      return sockets